# isExpired

**Kind:** Function

**Source:** [`atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts#L563)

A grant with no life left in it is the same as no grant, and the bar says so.

## Signature

```ts
function isExpired(grant: OAuth2Grant | undefined, now): boolean
```

## Parameters

| Name | Type |
|---|---|
| `grant` | `OAuth2Grant | undefined` |
| `now` | `any` |

**Returns:** `boolean`
