> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IsActive()

> Check once whether the player has an active entitlement, with a callback or a Task.

Asks whether an [`Entitlement`](https://docs.encorekit.com/publishers/unity/sdk-reference/entitlements) is active for the player now. Answers on iOS only: on Android and WebGL it answers `false`.

## Signature

```csharp theme={null}
public static void IsActive(Entitlement entitlement, EntitlementScope scope, Action<bool> onResult)
public static void IsActive(Entitlement entitlement, Action<bool> onResult)   // EntitlementScope.All
public static Task<bool> IsActiveAsync(Entitlement entitlement, EntitlementScope scope = EntitlementScope.All)
```

## Parameters

| Name | Type | Default | Description |
| - | - | - | - |
| `entitlement` | [`Entitlement`](https://docs.encorekit.com/publishers/unity/sdk-reference/entitlements) | required | The entitlement to check |
| `scope` | [`EntitlementScope`](https://docs.encorekit.com/publishers/unity/sdk-reference/entitlements) | `All` | Which grants count |
| `onResult` | `Action<bool>` | required | Called once with the answer |

## Example

```csharp theme={null}
if (await Encore.IsActiveAsync(Entitlement.FreeTrial()))
{
    UnlockPremiumLevels();
}
```

## Notes

* The answer arrives once, on the Unity main thread.
* Before [`Configure()`](https://docs.encorekit.com/publishers/unity/sdk-reference/configure), or when the native call fails, it answers `false`.
* Throws `ArgumentNullException` when `entitlement` or `onResult` is null.
* To follow changes, use [`IsActivePublisher()`](https://docs.encorekit.com/publishers/unity/sdk-reference/is-active-publisher).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.