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

# isSessionSaved

[API Reference](https://docs.modelence.com/api-reference/modelence/server/functions/../../../index) / [modelence](https://docs.modelence.com/api-reference/modelence/server/functions/../../index) / [server](https://docs.modelence.com/api-reference/modelence/server/functions/../index) / isSessionSaved

> **isSessionSaved**(`session`): `boolean`

Defined in: [packages/modelence/src/auth/session.ts:173](https://github.com/modelence/modelence/blob/main/packages/modelence/src/auth/session.ts#L173)

Whether the session has a record in the sessions collection.

## Parameters

| Parameter | Type |
| - | - |
| `session` | `Session` |

## Returns

`boolean`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.