def is_last_page(self, page):

        if page.last_page:
            return True

        if page.next_id:
            return False

        return page is self._pages[-1]
Is the page the last page?
dataset/ETHPy150Open enthought/pyface/pyface/wizard/wizard_controller.py/WizardController.is_last_page