public boolean isVersionAdvertised() {
    if (null != versionAdvertisedField) {
      return versionAdvertisedField.booleanValue();
    }
    // If set to null and has a parent, then the value would have already been resolved and set.
    // Otherwise, return the default value (false).
    return this.versionAdvertisedInternal;

  }
Determine if this component advertises a version. This Boolean has already resolved to true|false depending
on explicitly overriding the value or inheriting from an ancestor.
@return boolean of whether this component advertises a version.
ambari-server/src/main/java/org/apache/ambari/server/state/ComponentInfo.java