code: private boolean isIPAddress(@Nonnull String address) {
          return (InetAddressUtils.isIPv4Address(address) || InetAddressUtils.isIPv6Address(address));
      }
docs: Identify if the string is an IP address, e.g. x.x.x.x or x:x:x:x:x:x:x:x
  @param address IP address to test
  @return true if parameter is a normal IPv4 or IPv6 address