contains

inline fun <T> Iterable<T>.contains(predicate: (T) -> Boolean): Boolean

Returns true if an element matching the given predicate was found.