apa pun (iterable)

def any(iterable):
    for element in iterable:
        if element:
            return True
    return False
Filthy Flatworm