Check if the connection is established.
Declared in <torcontrol.h>
<torcontrol.h>
bool IsConnected() const;
true if the control connection is currently open.