docs: public static boolean parseBoolean(Object configAlias, String propertyKey, Object obj, boolean defaultValue) {
          if (obj != null) {
              if (obj instanceof String) {
                  String value = (String) obj;
                  if (value.equalsIgnoreCase("true")) {
                      return true;
                  } else if (value.equalsIgnoreCase("false")) {
                      return false;
                  } else {
                      Tr.warning(tc, "invalidBoolean", configAlias, propertyKey, obj);
                      throw new IllegalArgumentException("Boolean value could not be parsed: key=" + propertyKey + ", value=" + obj);
                  }
              } else if (obj instanceof Boolean) {
                  return (Boolean) obj;
              }
  
              // unknown type
              Tr.warning(tc, "invalidBoolean", configAlias, propertyKey, obj);
              throw new IllegalArgumentException("Boolean value could not be parsed: key=" + propertyKey + ", value=" + obj);
          }
          return defaultValue;
      }