code: def _is_wrapped(self, token, tokens):
          
          for t in tokens:
              is_wrapped = self._wraps((token, t))
              if is_wrapped:
                  return True
          return False
docs: check if param token is wrapped by any token in tokens