#NEWLINE# def quit( self , waiting = False ) : #NEWLINE# #INDENT# assert ( type ( response ) == bool ) #NEWLINE# quit_command = Dict ( ) #NEWLINE# quit_command . command = 'quit' #NEWLINE# quit_command . waiting = waiting #NEWLINE# response = self . _client . call ( quit_command ) #NEWLINE# response = response . get ( 'status' , None ) #NEWLINE# if ( response and ( response == 'ok' ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# return False