code: public static boolean isActive(Enum obj) {
          Enum value = ACTIVE_SWITCHES.get((Class)obj.getClass());
          return value != null && value == obj;
      }
docs: Validates whether the feature is active.
  
  @param obj
  @return