protected boolean isSupportedPropertyId(String componentName, String propertyId) {
    Map<String, PropertyInfo> componentMetricMap = componentMetrics.get(componentName);

    return componentMetricMap != null
      && (componentMetricMap.containsKey(propertyId) || checkPropertyCategory(propertyId));
  }
Verify that the component metrics contains the property id.
@param componentName Name of the component
@param propertyId Property Id
@return true/false
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractPropertyProvider.java