public static Predicate<InetAddress> ofCidr(InetAddress baseAddress, int maskBits) {
        requireNonNull(baseAddress, "baseAddress");
        checkArgument(maskBits >= 0, "maskBits: %s (expected: >= 0)", maskBits);
        return ofCidr(baseAddress, maskBits, maskBits);
    }
Returns a {@link Predicate} which returns {@code true} if the given {@link InetAddress} is in the
range of a <a href="https://datatracker.ietf.org/doc/rfc4632/">Classless Inter-domain Routing (CIDR)</a> block.

@param baseAddress the base {@link InetAddress} of a CIDR notation
@param maskBits the number of significant bits which describes its network portion
core/src/main/java/com/linecorp/armeria/common/util/InetAddressPredicates.java