#NEWLINE# def _update( self ) : #NEWLINE# #INDENT# ' Checks the completion status of the controller. ' #NEWLINE# for page in page . _pages : #NEWLINE# #INDENT# if ( not page . complete ) : #NEWLINE# #INDENT# self . complete = False #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . next_controller is not None ) : #NEWLINE# #INDENT# self . next_controller . _update ( ) #NEWLINE# self . complete = self . next_controller . complete #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . complete = True #NEWLINE# #UNINDENT# #UNINDENT# return