original_docstring: Disconnects device and return the boolean result
docstring: Disconnects device and return the boolean result
docstring_tokens: Disconnects device and return the boolean result
code: def disconnect_device(self):
          """Disconnects device and return the boolean result"""
          if self.client:
              self.client.loop_stop()
              self.client.disconnect()
              
              # Wait until we get on disconnect message
              return self.disconnected.get(timeout=5)
code_tokens: def disconnect_device ( self ) : if self . client : self . client . loop_stop ( ) self . client . disconnect ( ) return self . disconnected . get ( timeout = 5 )
short_docstring: Disconnects device and return the boolean result
short_docstring_tokens: Disconnects device and return the boolean result
comment: """Disconnects device and return the boolean result"""$SEP$# Wait until we get on disconnect message