contains

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

Returns true if element is found in the sequence.

The operation is terminal.