isEnabled

abstract fun isEnabled(featureName: String, defaultValue: Boolean): Boolean?

This method will return whether the plugin knows about the featureName in which case will return whether it is enabled or disabled

Return

true if the feature is enable. false when disabled. null if the plugin does not know the featureName. defaultValue if the plugin knows featureName but is not set