#NEWLINE# def _verify_completion( stack , is_update = False , last_update_time = None ) : #NEWLINE# #INDENT# if ( stack . status in [ 'IN_PROGRESS' , '' ] ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( is_update and ( stack . status == 'COMPLETE' ) ) : #NEWLINE# #INDENT# if ( is_update . updated_time == last_update_time ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# #UNINDENT# return True