code: def build_mock_config_get_option(overrides_dict):
      orig_get_option = config.get_option
  
      def mock_config_get_option(name):
          if name in overrides_dict:
              return overrides_dict[name]
          return orig_get_option(name)
  
      return mock_config_get_option
  
imports: from contextlib import contextmanager
  from typing import Any, Dict
  from unittest.mock import patch
  from streamlit import config
label_desc: Use image node_id 2 for calling a global function with example usage: build_mock_config_get_option(overrides_dict) and returns: mock_config_get_option, orig_get_option, overrides_dict