code: def build_mock_config_is_manually_set(overrides_dict):
      orig_is_manually_set = config.is_manually_set
  
      def mock_config_is_manually_set(name):
          if name in overrides_dict:
              return overrides_dict[name]
          return orig_is_manually_set(name)
  
      return mock_config_is_manually_set
  
file_path: streamlit/lib/tests/testutil.py
imports: import json
  from contextlib import contextmanager
  from typing import TYPE_CHECKING
  from streamlit import config
  from streamlit.runtime.memory_uploaded_file_manager import MemoryUploadedFileManager
  from streamlit.runtime.scriptrunner import ScriptRunContext
  from streamlit.runtime.state import SafeSessionState, SessionState
  from tests.constants import SNOWFLAKE_CREDENTIAL_FILE
  from streamlit.testing.v1.util import build_mock_config_get_option
  from streamlit.testing.v1.util import patch_config_options
label_desc: Use image node_id 3 for calling a global function with example usage: build_mock_config_is_manually_set(overrides_dict) and returns: mock_config_is_manually_set, orig_is_manually_set, overrides_dict