Optional
feature: stringThe feature name to check
Optional
cfg: TThe configuration object to check the feature state against
Optional
sdkDefaultState: booleanOptional default state to return if the feature is not defined
True if the feature is enabled, false if the feature is disabled, or undefined if the feature is not defined and no default state is provided.
Checks if the feature is enabled on not. If the feature is not defined, it will return the default state if provided or undefined. If the feature is defined, it will check the mode and return true if the mode is enable or false if the mode is disable.