code: public static boolean containsConstant(final Enum<?>[] enumValues, final String constant) {
      return ObjectUtils.containsConstant(enumValues, constant, false);
    }
docs: Check whether the given array of enum constants contains a constant with the given name,
  ignoring case when determining a match.
  
  @param enumValues the enum values to check, typically the product of a call to MyEnum.values()
  @param constant the constant name to find (must not be null or empty string)
  @return whether the constant has been found in the given array