def next(self):
    if self.__model_class is not None:
      return self.__model_class.from_entity(self.__iterator.next())
    else:
      entity = self.__iterator.next()
      return class_for_kind(entity.kind()).from_entity(entity)
true if user has 'add', 'change' or 'delete' permission
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/_QueryIterator.next--crossover with--dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailsnippets/permissions.py/user_can_edit_snippets