contains

operator fun <T> Iterable<T>.contains(element: T): Boolean(source)

Checks whether this iterable has an element equal to element.