code: def test_is_feature_enabled(mocker: MockFixture) -> None:
      """
      Test ``_is_feature_enabled_func``.
      """
      mocker.patch.dict(
          "superset.extensions.feature_flag_manager._feature_flags",
          {
              "True_Flag1": False,
              "True_Flag2": True,
              "Flag3": False,
              "Flag4": True,
          },
          clear=True,
      )
      mocker.patch(
          "superset.extensions.feature_flag_manager._is_feature_enabled_func",
          dummy_is_feature_enabled,
      )
  
      assert is_feature_enabled("True_Flag1") is True
      assert is_feature_enabled("True_Flag2") is True
      assert is_feature_enabled("Flag3") is False
      assert is_feature_enabled("Flag4") is True
  
imports: from pytest_mock import MockFixture
  from superset import is_feature_enabled
label_desc: Use image node_id 4 for calling a global function with example usage: test_is_feature_enabled(mocker) without return types