public boolean isProxyEnabled(){
  LOG.debug("proxy Host: " + proxyHost + " proxyPort: "+ proxyPort);
  if (proxyHost == null || proxyHost.isEmpty() || proxyPort == null || proxyPort.isEmpty()) {
    return false;
  }
  return true;
}

public boolean isProxyEnabled ( ) { LOG . debug ( "proxy Host: " + proxyHost + " proxyPort: " + proxyPort ) ; if ( proxyHost == null || proxyHost . isEmpty ( ) || proxyPort == null || proxyPort . isEmpty ( ) ) { return false ; } return true ; }
check if the http proxy is enabled if enabled configure the system properties
