contains method

On this page

contains

Determines whether the collection contains a specific item.

def contains(self, item):
    ...
Parameter Type Description
item DateFormat The item to locate in the collection.

Returns: bool: True if item is found in the collection; otherwise, False.

Aliases

These names call contains too, limited to the overloads listed.

Alias Accepts
contains_date_format contains_date_format(item)

See Also

On this page