# \[FEATURE\] Add expression function to check if tag is valid (exists and not disabled)

**URL:** <https://forum.inductiveautomation.com/t/feature-add-expression-function-to-check-if-tag-is-valid-exists-and-not-disabled/61192>\
**Category:** Ignition\
**Created:** [June 25, 2022, 1:07am UTC](https://forum.inductiveautomation.com/t/feature-add-expression-function-to-check-if-tag-is-valid-exists-and-not-disabled/61192 "2022-06-25T01:07:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [June 25, 2022, 1:29am UTC](https://forum.inductiveautomation.com/t/feature-add-expression-function-to-check-if-tag-is-valid-exists-and-not-disabled/61192/2 "2022-06-25T01:29:24Z")

</div>

Yes please. The two properties we want to confirm for the same reason are exists and enabled. `isGood` is great, but doesn't help with this use case.

> [@How to locate the number 'value' of a Tag's Data Quality](https://forum.inductiveautomation.com/t/how-to-locate-the-number-value-of-a-tags-data-quality/26840/15):
>
> In addition to an expression for tag exists, an expression for isDisabled would be great. We use the same UDTs on a lot of different ancient and modern PLCs (thank you for tag property overrides and scripted tag creation!) and disable unused UDT members that don’t exist in the older PLCs. Templates adapt based on whether members are disabled or not. Unfortunately we seem to be stuck with magic strings to make this happen. Alternatively, we could use the isGood expression if it weren’t for the f…

---

_[View the full topic](https://forum.inductiveautomation.com/t/feature-add-expression-function-to-check-if-tag-is-valid-exists-and-not-disabled/61192)._
