disconnect()
Disconnect from a remote host.
Usage
disconnect(connection)Parameters
connection: dict-
The connection dictionary to disconnect.
Returns
bool-
True if disconnected successfully.
Examples
>>> disconnect({"host": "localhost", "status": "connected"})
True