> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# isConnected

Checks whether the client is connected and registered with the SIP server.

## Signature

```typescript theme={null}
const connected = client.isConnected();
```

## Parameters

None.

## Returns

`boolean` — `true` if the client is connected and registered, `false` otherwise.

## Example

```typescript theme={null}
if (client.isConnected()) {
  console.log('Client is ready to make calls');
  await client.startCall();
} else {
  console.log('Client is not connected');
  await client.connect();
}
```

## More Information

* [connect](/click-to-call/sdk/api-reference/connect)
* [registered](/click-to-call/sdk/event-reference/registered) event
