isEnabled
This method - Returns whether the feature flag state is enabled or disabled. - It is not affected by experiment cohort assignment. It just checks whether the feature is enabled or not. - It considers all other constraints like targets, minSupportedVersion, etc.
Return
true
if the feature should be enabled, false
otherwise