docs: def _set_item_querytime(self, item, type_check=True):
          """
          Sets the time for which the query was made on the resulting item
  
          :param item: an item of type Versionable
          :param type_check: Check the item to be a Versionable
          :return: Returns the item itself with the time set
          """
          if isinstance(item, Versionable):
              item._querytime = self.querytime
          elif isinstance(item, VersionedQuerySet):
              item.querytime = self.querytime
          else:
              if type_check:
                  raise TypeError(
                      "This item is not a Versionable, it's a " + str(
                          type(item)))
          return item