public boolean isMasterKeyPersisted() {
    File masterKeyFile = getMasterKeyLocation();
    return (masterKeyFile != null) && masterKeyFile.exists();
  }
@return the name to be used for audit information if there is no
logged-in user.  Default is '_anonymous'.
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java