public static boolean isWildcardInetAddress(@Nullable InetAddress inetAddress) {
        return inetAddress != null && (Arrays.equals(EMPTY_BYTE_ARRAY_4, inetAddress.getAddress()) || Arrays.equals(EMPTY_BYTE_ARRAY_16, inetAddress.getAddress()));
    }
@Test
    public void isWildcardAddress() {
        assertTrue(Tools.isWildcardInetAddress(InetAddresses.forString("0.0.0.0")));
        assertTrue(Tools.isWildcardInetAddress(InetAddresses.forString("::")));
        assertFalse(Tools.isWildcardInetAddress(null));
        assertFalse(Tools.isWildcardInetAddress(InetAddresses.forString("127.0.0.1")));
        assertFalse(Tools.isWildcardInetAddress(InetAddresses.forString("::1")));
        assertFalse(Tools.isWildcardInetAddress(InetAddresses.forString("198.51.100.23")));
        assertFalse(Tools.isWildcardInetAddress(InetAddresses.forString("2001:DB8::42")));
    }