cf.TimeDuration.__bool__

TimeDuration.__bool__()[source]

Truth value testing and the built-in operation bool

x.__bool__() <==> bool(x)