code: private boolean useNetworkInterface(NetworkInterface networkInterface) throws HarvestException {
  		try {
  			return !networkInterface.isLoopback() && networkInterface.isUp();
  		} catch (SocketException e) {
  			throw new HarvestException("Could not evaluate whether network interface is loopback.", e);
  		}
  	}
docs: Decides whether a certain network interface can be used as a host
  candidate.
  
  @param networkInterface
  The network interface to evaluate
  @return <code>true</code> if the interface can be used. Returns
  <code>false</code>, otherwise.
  @throws HarvestException
  When an error occurs while inspecting the interface.