XPLMIsFeatureEnabled

XPLM_API int        XPLMIsFeatureEnabled(
                         const char *         inFeature);

This returns 1 if a feature is currently enabled for your plugin, or 0 if it is not enabled. It is an error to call this routine with an unsupported feature.