public boolean isMasked() {
    return masked;
  }
Indicates whether or not the parameter is masked when persisted.

@return true if the parameter is masked; false otherwise
ambari-server/src/main/java/org/apache/ambari/server/view/configuration/ParameterConfig.java