---
url: /process-functions/security-applicationtagexists.md
description: Checks whether a tag exists on an application. Returns a boolean value.
---

# security.applicationTagExists&#x20;

Checks whether a tag exists on an application. Returns a boolean value.

::: warning Deprecated
Use [`app.tags.exists(tag)`](/process-functions/security-application-tags#exists) instead.
:::

```js
security.applicationTagExists(applicationId, tagName)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `applicationId` | `string` | The application id. |
| `tagName` | `string` | The tag to be checked exists in the application. |

## Returns

`true` if the tag exists on the application; `false` otherwise.

## Examples

```js
const exists = security.applicationTagExists("MyActivityId", "Tag");
```
