public boolean isMasked() {
    return masked == 'y' || masked == 'Y';
  }
Determine whether or not the parameter is masked.

@return true if parameter is masked
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewParameterEntity.java