

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 (self is self._pages[(- 1)])

dataset/ETHPy150Open enthought/pyface/pyface/wizard/wizard_controller.py WizardController.is_last_page/VarMisuse@38/60 `page`->`self`