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

# Is Connected

> Check whether the current sandbox session is actively connected via WebSocket.

The `isConnected()` method provides a quick way to verify whether your current sandbox instance is actively connected to Fermion’s infrastructure.

### `isConnected()`

**Description:**
Checks if the WebSocket connection to the sandbox is currently active.

**Parameters:**
None

**Returns:**
`boolean` - `true` if connected, `false` otherwise

**Example:**

```typescript theme={null}
console.log(sandbox.isConnected()) // false

await sandbox.create({ shouldBackupFilesystem: false })
console.log(sandbox.isConnected()) // true
```
