Bitten by a truthy monster

So, I had something like this (contrived of course):

Do you see it?

No matter the result of Foo::_enabled() I would always get a positive result. One of the more seasoned Perl developers kindly pointed out that a hash is truthy, even if one of the values is false. I felt a bit silly once I realized my mistake.

That same developer was kind enough to mention that he still gets bit by this monster once in a while. I think he was trying to make me feel better.