Enumeration::isEnabled() for bitmask checking and enum value can be negative