Jeśli lista jest zerowa Python, zastosuj dowolną witrynę funkcyjną: stackoverflow.com

>>> any([]), all([])
(False, True)
Testy Toucan