contains method

contains

Determines whether the collection contains a specific value.

Returns

true if item is found in the collection; otherwise, false.

def contains(self, item):
    ...
ParameterTypeDescription
itemIMathElementThe object to locate in the collection.

See Also