--- tag: api type: function name: connected returns: type: boolean values: - value: 'false' description: the client is not connected - value: 'true' description: the client is connected --- Checks whether the client is connected to the server.