public static boolean isNetworkInterfaceAvailable(final String ipAddress)
      throws SocketException, UnknownHostException {
    if (isUnspecifiedAddress(ipAddress)) {
      return true;
    }
    return NetworkInterface.getByInetAddress(InetAddress.getByName(ipAddress)) != null;
  }
Is network interface available.

@param ipAddress the ip address
@return the boolean
@throws SocketException the socket exception
@throws UnknownHostException the unknown host exception
util/src/main/java/org/hyperledger/besu/util/NetworkUtility.java