@gen.engine
  def _CheckEmptyViewpoint(self, viewpoint, activities, followers, ep_photos_list, comments, callback):
    if not viewpoint.IsDefault() and not activities and not ep_photos_list and not comments:
      yield gen.Task(self._ReportCorruption, viewpoint.viewpoint_id, 'empty viewpoint', None,
                    partial(self._RepairEmptyViewpoint, viewpoint, followers))

    callback()
Checks for empty viewpoint.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/tools/dbchk.py/DatabaseChecker._CheckEmptyViewpoint