docstr: Utility function for checking whether a feature is turned on
docstr_tok: ["Utility","function","for","checking","whether","a","feature","is","turned","on"]
code: def is_feature_enabled(self, feature: str) -> bool:
      """Utility function for checking whether a feature is turned on"""
      if self._is_feature_enabled_func:
          return (
              self._is_feature_enabled_func(
                  feature, self._feature_flags[feature]
              )
              if feature in self._feature_flags
              else False
          )
      feature_flags = self.get_feature_flags()
      if feature_flags and feature in feature_flags:
          return feature_flags[feature]
      return False
  
imports: from copy import deepcopy
  from flask import Flask
label_desc: Use image node_id 4 for calling the FeatureFlagManager obj's underlying member method code with example usage: obj.is_feature_enabled(feature) and returns: False, unknown, feature_flags