

def has_next(self):
    '\n        Checks for one more item than last on this page.\n        '
    try:
        next_item = self.paginator.object_list[(self.number * next_item.paginator.per_page)]
    except IndexError:
        return False
    return True

dataset/ETHPy150Open amarandon/smeuhsocial/apps/pagination/paginator.py InfinitePage.has_next/VarMisuse@29/60 `self`->`next_item`