public boolean containsConfig(String configType, String propertyName) {
    return (properties.containsKey(configType) && properties.get(configType).containsKey(propertyName))
      || (attributes.containsKey(configType) && attributes.get(configType).values().stream().filter(map -> map.containsKey(propertyName)).findAny().isPresent())
      || (parentConfiguration != null && parentConfiguration.containsConfig(configType, propertyName));
  }
Get the complete set of configuration types represented in both full properties and full attributes.

@return collection of all represented configuration types
ambari-server/src/main/java/org/apache/ambari/server/topology/Configuration.java