Si la liste est null python, appliquez un site de fonction: stackoverflow.com

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