# isAvailable

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Gets a value indicating whether the interaction service is available to prompt the user.

## Definition

```typescript
interface IInteractionService {
  // ... omitted for brevity
  isAvailable(): boolean
}
```

## Returns

`boolean`

## Applies to

- [IInteractionService](/reference/api/typescript/aspire.hosting/iinteractionservice.md)
