code: private static boolean isValidAddress(InetAddress address) {
          if (address == null || address.isLoopbackAddress()) {
              return false;
          }
          String name = address.getHostAddress();
          return (name != null
              && !isAnyHost(name)
              && !isLocalHost(name)
              && isIPv4Host(name));
      }
docs: 是否合法地址（非本地，非默认的IPv4地址）
  
  @param address InetAddress
  @return 是否合法