public boolean hasConfigDependency(String type) {
    return configDependencies != null && configDependencies.contains(type);
  }
Determine of the service has a dependency on the provided configuration type.

@param type the config type
@return <code>true</code> if the service defines a dependency on the provided type
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java