code: function matchesPath(requestedUrl, opts) {
    var paths = !opts.path || Array.isArray(opts.path) ?
      opts.path : [opts.path];
  
    if (paths) {
      return paths.some(function(p) {
        return (typeof p === 'string' && p === requestedUrl.pathname) ||
          (p instanceof RegExp && !! p.exec(requestedUrl.pathname));
      });
    }
  
    return false;
  }
docs: Returns boolean indicating whether the requestUrl matches against the paths configured.
  
  @param requestedUrl - url requested by user
  @param opts - unless configuration
  @returns {boolean}