code: def AppConfigFlagHandler(feature=None):
    
    if not current_app:
      log.warn(u"Got a request to check for {feature} but we're outside the request context. Returning False".format(feature=feature))
      return False
  
    try:
      return current_app.config[FEATURE_FLAGS_CONFIG][feature]
    except (AttributeError, KeyError):
      raise NoFeatureFlagFound()
docs: This is the default handler. It checks for feature flags in the current app's configuration.
  
    For example, to have 'unfinished_feature' hidden in production but active in development:
  
    config.py
  
    class ProductionConfig(Config):
  
      FEATURE_FLAGS = {
        'unfinished_feature' : False,
      }
  
  
    class DevelopmentConfig(Config):
  
      FEATURE_FLAGS = {
        'unfinished_feature' : True,
      }