public static boolean isIpV6Address(final String hostAddress) {
    try {
      return InetAddresses.forString(hostAddress) instanceof Inet6Address;
    } catch (final IllegalArgumentException e) {
      return false;
    }
  }
Is hostAddress string an ip v6 address

@param hostAddress the host address as a string
@return true if the host address is an ip v6 address
util/src/main/java/org/hyperledger/besu/util/NetworkUtility.java