@Override
  public String toString() {
    String autoDeployString = m_autoDeploy == null? "false" : String.valueOf(m_autoDeploy.isEnabled());
    return "DependencyInfo[name=" + getName() +
           ", scope=" + getScope() +
           ", type=" + getType() +
           ", auto-deploy=" + autoDeployString +
           "]";
  }
Confirms if dependency have any condition or not
@return true if dependencies are based on a condition
ambari-server/src/main/java/org/apache/ambari/server/state/DependencyInfo.java