code: def should_skip_middleware(self, middleware, matching, rest) -> bool:
          
          return bool(not matching) or bool(rest)
docs: Returns True (i.e. should skip) if request does not match the
          entire middleware path.
          This is a simple check if 'rest' is truthy or not.