public static boolean hasAggregateFunctionSuffix(String propertyId) {
    for (String aggregateFunctionId : AGGREGATE_FUNCTION_IDENTIFIERS) {
      if (propertyId.endsWith(aggregateFunctionId)) {
        return true;
      }
    }
    return false;
  }
Check if property ends with a trailing suffix of function id.
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PropertyHelper.java