любой (итерабильный)
def any(iterable):
for element in iterable:
if element:
return True
return False
Filthy Flatworm
def any(iterable):
for element in iterable:
if element:
return True
return False