def is_last_page(self, page):
        """ Is the page the last page? """

        if page.last_page:
            return True

        if page.next_id:
            return False

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