contains

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

Returns true if element is found in the sequence.

The operation is terminal.

Since Kotlin

1.0