isEnabled

abstract fun isEnabled(): Boolean

This takes into account two different inputs.

  1. If the user enabled or not the GPC feature

  2. If the remote configuration has enabled or not the GPC feature. When disabled, the remote configuration value prevails over the user choice.

Return

true if the feature is enabled and false is is not.