how to check whether list contains only None in python August 27, 2023 by Tarik If you mean, to check if the list l contains only None, if all(x is None for x in l): ...