@Override
  public boolean isCredentialStoreEnabled() {
    ServiceDesiredStateEntity desiredStateEntity = getServiceDesiredStateEntity();

    if (desiredStateEntity != null) {
      return desiredStateEntity.isCredentialStoreEnabled();
    } else {
      LOG.warn("Trying to fetch a member from an entity object that may " +
          "have been previously deleted, serviceName = " + getName());
    }
    return false;
  }
Get a true or false value specifying whether
credential store use is enabled for this service.

@return true or false
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java