public boolean isAgentApiGzipped() {
    return Boolean.parseBoolean(getProperty(AGENT_API_GZIP_COMPRESSION_ENABLED));
  }
Check to see if the agent API responses should be compressed via gzip or not
@return false if not, true if gzip compression needs to be used.
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java