How about.


IPAddressUtil.isIPv6LiteralAddress("some address")

// Json