# isExpired

> **isExpired**(`client`, `options`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`boolean`\>

Defined in: [packages/synapse-core/src/session-key/actions.ts:24](https://github.com/FilOzone/synapse-sdk/blob/32f86959b0bf15557657ea412e31a0897440ca98/packages/synapse-core/src/session-key/actions.ts#L24)

Check if the session key is expired.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `client` | `Client`\<`Transport`, `Chain`\> | The client to use. |
| `options` | [`IsExpiredOptions`](/reference/filoz/synapse-core/session-key/type-aliases/isexpiredoptions/) | The options to use. |

## Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`boolean`\>

The account info including funds, lockup details, and available balance.

## Throws

- ReadContractErrorType if the read contract fails.