def _update(self):
        """ Checks the completion status of the controller. """

        # The entire wizard is complete when the last page is complete.
        if self.current_page is None:
            self.complete = False
        elif self.is_last_page(self.current_page):
            self.complete = self.current_page.complete
        else:
            self.complete = False

        return

    #### Trait event handlers #################################################

    #### Static ####
dataset/ETHPy150Open enthought/pyface/pyface/wizard/wizard_controller.py/WizardController._update/original