#NEWLINE# def ping( ) : #NEWLINE# #INDENT# '\n    Required.\n    Ping the device on the other end of the connection\n    ' #NEWLINE# try : #NEWLINE# #INDENT# ( out , err ) = DETAILS [ 'server' ] . sendline ( 'help' ) #NEWLINE# return True #NEWLINE# #UNINDENT# except TerminalException as e : #NEWLINE# #INDENT# log . error ( out ) #NEWLINE# return False