@property
    def next_page_number(self):
        if not self.has_next:
            return False
        return self.number + 1
Return the index of the next page.
dataset/ETHPy150Open tonioo/modoboa/modoboa/lib/paginator.py/Page.next_page_number