contains

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

Returns true if element is found in the collection.