code: protected boolean ipInRange(String ipAddress, String range) {
          IpAddressMatcher addressMatcher = new IpAddressMatcher(range);
          return addressMatcher.matches(ipAddress);
      }
docs: Determines if a given IP address is in the given IP range.
  
  @param ipAddress single IP address
  @param range     IP address range using CIDR notation
  @return true if the address is in the range, false otherwise