code: protected boolean ipPatternMatches(final String remoteIp) {
          val matcher = this.ipsToCheckPattern.matcher(remoteIp);
          if (matcher.find()) {
              LOGGER.debug("Remote IP address [{}] should be checked based on the defined pattern [{}]", remoteIp, this.ipsToCheckPattern.pattern());
              return true;
          }
          LOGGER.debug("No pattern or remote IP defined, or pattern does not match remote IP [{}]", remoteIp);
          return false;
      }
docs: Simple pattern match to determine whether an IP should be checked.
  Could stand to be extended to support "real" IP addresses and patterns, but
  for the local / first implementation regex made more sense.
  
  @param remoteIp the remote ip
  @return whether the remote ip received should be queried