Se a lista for nula python, aplique qualquer site de função: stackoverflow.com

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