private boolean hasProxySettings(Properties settings){
  String proxyHost=settings.getProperty("org.gnome.system.proxy.http host",null);
  return proxyHost != null && proxyHost.length() > 0;
}

private boolean hasProxySettings ( Properties settings ) { String proxyHost = settings . getProperty ( "org.gnome.system.proxy.http host" , null ) ; return proxyHost != null && proxyHost . length ( ) > 0 ; }
checks if we have proxy configuration settings in the properties .
