# isAvailable

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

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)
