You could use list comprehension and not
all the items
a=[True,False,True]
b=[not c for c in a]
not a
provided False due to the fact it checks list is empty since it isn't returns True so it is converted into false
a=[True]
not a
False
a=[False]
not a
True