public boolean isTwoWaySsl() {
    return Boolean.parseBoolean(getProperty(SRVR_TWO_WAY_SSL));
  }
Check to see if two-way SSL auth should be used between server and agents
or not

@return true two-way SSL authentication is enabled
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java