Client :: connected - Is client connected
The function checks whether the client is connected (true) or not (false). The function throws an exception when being called for an invalid client handle.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.