operator.truth(obj)
Return True if obj is true, and False otherwise. This is equivalent to using the bool constructor.
True
False
bool
Please login to continue.
Please login to continue.