This any()
function returns a Boolean value that indicates whether the collection contains any values that evaluate to True.
any(iterable)
Here,
Note: If the iterable is empty, any() returns False.
>>>> any([True, True])
True
>>> any([True, False])
True
>>> any([False, False])
False
>>> any('False')
True
>>> any([])
False