---
id: "P:cAlgo.API.Permission.IsAllowed"
kind: "property"
type: "T:cAlgo.API.Permission"
url: "https://help.ctrader.com/ctrader-algo/references/Permissions/Permission/IsAllowed/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Permission.IsAllowed

Member of [Permission](https://help.ctrader.com/ctrader-algo/references/Permissions/Permission/index.md).

## IsAllowed

True if Permission is given by user otherwise false.

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: IsAllowed is always true and Request returns true without showing a prompt.
- Cloud: IsAllowed is always true and Request returns true without showing a prompt.

C#:

```csharp
bool IsAllowed {get;}
```

Python:

```python
permission.IsAllowed: bool
```

### Returns

`bool` — 

### Examples

C#:

```csharp
Print("Clipboard access allowed: {0}", Permissions.ClipboardPermission.IsAllowed);
```

Python:

```python
api.Print(f"Clipboard access allowed: {api.Permissions.ClipboardPermission.IsAllowed}")
```

