code: def relations_to(self, target, include_object=False):
          ''' list all relations pointing at an object '''
          relations = self._get_item_node(target).incoming
          if include_object:
              for k in relations:
                  for v in relations[k]:
                      if hasattr(v, 'obj'): # filter dead links
                          yield v.obj, k
          else:
              yield from relationf relations_to(self, target, include_object=False):
          ''' list all relations pointing at an object '''
          relations = self._get_item_node(target).incoming
          if include_object:
              for k in relations:
                  for v in relations[k]:
                      if hasattr(v, 'obj'): # filter dead links
                          yield v.obj, k
          else:
              yield from relations
docs: list all relations pointing at an object