code: public static boolean isLocalAddress(String addr)
  	{
  		try
  		{
  			InetAddress iAddr = InetAddress.getByName(addr);
  			return isLocalAddress(iAddr);
  		}
  		catch (UnknownHostException e)
  		{
  			return false;
  		}
  	}
docs: Determines if a specified host or IP refers to the local machine
  
  @param addr
  String The host/IP
  
  @return boolean True if the input points to the local machine, otherwise false