Using feature flags in a Connect app

We are trying to add Feature Flags to our Connect app, so that we can turn on and off certain features of our app. How can we control the appearance of Connect modules such as Admin Pages using a feature flag? I noticed the existence of a * feature_flag condition for modules, but it’s not documented anywhere and it seems to be able to access only Jira Cloud’s on feature flags.

Anybody using feature flags in their app to control the appearance of Connect modules?