Comment Comment by jamespwilliams Looks cool. bool (__bool__) Returns whether all elements evaluate to True. I’d be worried that this will trip people up who use the if l: print l[0] # or whatever pattern parent jamespwilliams 5 years ago