# isExpired

```ts
function isExpired(client, options): Promise<boolean>;
```

Defined in: [packages/synapse-core/src/session-key/actions.ts:52](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-core/src/session-key/actions.ts#L52)

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.