>>> a = 1
>>> b = 0
>>> c = "None"

>>> d = bool(a)
>>> d
True
>>> bool(b)
False
>>> bool(c)
True
>>>