public static boolean isValidIpRange(@Nullable final String value)
    {
        return isValidIpv4Range(value) || isValidIpv6Range(value);
    }
Checks if the provided value is a representation of an IP address range.

@param value the value to check
@return true if the provided value is an IP address range, otherwise false.
xmppserver/src/main/java/org/jivesoftware/util/IpUtils.java