private boolean contains(Collection<Enum<?>> enumConsts, String value) {
    return enumConsts.stream().anyMatch(e -> e.name().equals(value));
  }
Testcase for HBASE-21732. Make sure that all enum configurations can accept lower case value.
hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestColumnFamilyDescriptorLowerCaseEnum.java