public boolean evaluateIgnoreCase(Resource resource) {
    Object propertyValue  = resource.getPropertyValue(getPropertyId());
    Object predicateValue = getValue();

    return predicateValue == null ?
            propertyValue == null :
            propertyValue != null && compareValueToIgnoreCase(propertyValue) == 0;
  }
Case insensitive equality support for string types

@param resource
@return
ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/EqualsPredicate.java