docs: public static boolean isHostIp(String ip) {
          InetAddress localAddress = null;
          try {
              localAddress = InetAddress.getLocalHost();
              if (localAddress.isLoopbackAddress() || isValidHostAddress(localAddress)
                  && (localAddress.getHostAddress().equals(ip) || localAddress.getHostName().equals(ip))) {
                  return true;
              }
          } catch (Throwable e) {
              logger.warn("Failed to retriving local host ip address, try scan network card ip address. cause: "
                          + e.getMessage());
          }
  
          try {
              Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces();
              if (interfaces != null) {
                  while (interfaces.hasMoreElements()) {
                      try {
                          NetworkInterface network = interfaces.nextElement();
                          Enumeration<InetAddress> addresses = network.getInetAddresses();
                          if (addresses != null) {
                              while (addresses.hasMoreElements()) {
                                  try {
                                      InetAddress address = addresses.nextElement();
                                      if (address.isLoopbackAddress() || isValidHostAddress(address) && address.getHostAddress().equals(ip)) {
                                          return true;
                                      }
                                  } catch (Throwable e) {
                                      logger.warn("Failed to retriving network card ip address. cause:" + e.getMessage());
                                  }
                              }
                          }
                      } catch (Throwable e) {
                          logger.warn("Failed to retriving network card ip address. cause:" + e.getMessage());
                      }
                  }
              }
          } catch (Throwable e) {
              logger.warn("Failed to retriving network card ip address. cause:" + e.getMessage());
          }
  
          return false;
      }