Isn't dunder-bool what you want? (dunder-nonzero in python2) Dunno if special caveats for Enums PS sorry for phone-post -- I've broken my leg