public boolean hasConfigType(String type) {
    return configTypes != null && configTypes.containsKey(type)
        && !excludedConfigTypes.contains(type);
  }
Determine if the service contains the specified config type

@param type config type to check
@return true if the service has the specified config type; false otherwise
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java