docs: def already_resolved(self, pattern: QueryTriple) -> bool:
          """ Determine whether pattern has already been loaded into the cache.
  
          The "wild card" - `(None, None, None)` - always counts as resolved.
  
          :param pattern: pattern to check
          :return: True it is a subset of elements already loaded
          """
          if self.sparql_locked or pattern == (None, None, None):
              return True
          for resolved_node in self.resolved_nodes:
              if resolved_node != (None, None, None) and \
                      (pattern[0] == resolved_node[0] or resolved_node[0] is None) and \
                      (pattern[1] == resolved_node[1] or resolved_node[1] is None) and\
                      (pattern[2] == resolved_node[2] or resolved_node[2] is None):
                  return True
          return False