I have some confusion over testing values that are assigned False, True
To check for True value, we can simply just
a = True if (a):
use not:
not
if not a: .... # If a is the empty value like '', [], (), {}, or 0, 0.0, ..., False # control flow also reach here.
or is False:
is False
if a is False: ....