# Is there a Template Function (or a way) to check for the presence of a ConfigOption on the Configuration Page

**URL:** https://community.replicated.com/t/is-there-a-template-function-or-a-way-to-check-for-the-presence-of-a-configoption-on-the-configuration-page/1212
**Category:** How do I?
**Created:** [May 12, 2023, 1:41pm UTC](https://community.replicated.com/t/is-there-a-template-function-or-a-way-to-check-for-the-presence-of-a-configoption-on-the-configuration-page/1212 "2023-05-12T13:41:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nick](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/nick/32/655_2.png) [@Nick](https://community.replicated.com/u/Nick)
#### Post date: [May 12, 2023, 1:41pm UTC](https://community.replicated.com/t/is-there-a-template-function-or-a-way-to-check-for-the-presence-of-a-configoption-on-the-configuration-page/1212/1 "2023-05-12T13:41:19Z")

</div>

As an example use-case, I’d like to create an optionalValues where the when: condition evaluates to true only if there is a question that exists on the configuration page.

We have two channels, where we’d like to copy the kind: HelmChart into both channels, but both channels have a slightly different version of the kots-config.yaml file, where one has a question and the other doesn’t.

An optional workaround to this, would be to create two separate versions of the HelmChart where in one we grab the ConfigOption in the values: block and in the other don’t.
