contains method

contains

Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.

Returns

true if item is found in the System.Collections.Generic.ICollection`1; otherwise, false.

def contains(self, item):
    ...
ParameterTypeDescription
itemIBehaviorThe object to locate in the System.Collections.Generic.ICollection`1.

See Also