contains

open operator override fun contains(element: E): Boolean(source)

Checks if the specified element is contained in this collection.

Since Kotlin

1.4