---
title: Checking Whether a Flag Is Set in an Expression
slug: checking-whether-a-flag-is-set-in-an-expression
createdAt: 2026-06-11T23:13:00.432Z
---

## Overview

You can check whether a flag is set by evaluating the flag path directly in an expression.

## Use Case

Use this when you need to confirm whether a specific default flag is enabled for a service or application.

## Expression

```text
=//Services/Applications/Adobe Acrobat/DefaultFlags/SupportUpdate
```

## Expected Result

If the flag is set, the expression returns:

```text
True
```

If the flag is not set, the expression returns:

```text
False
```

## Key Points

- The expression should point directly to the flag value.
- The result behaves like a simple Boolean check.
- This can be used in conditions, validators, or other expression-driven logic.
- Replace the service, application, and flag names as needed for your environment.

## Notes

- The original example used the `SupportUpdate` flag under the Adobe Acrobat default flags.
