code: def get_mock_module(config):
      """
      Import and return the actual "mock" module. By default this is
      "unittest.mock", but the user can force to always use "mock" using
      the mock_use_standalone_module ini option.
      """
      global _mock_module
      if _mock_module is None:
          use_standalone_module = parse_ini_boolean(
              config.getini("mock_use_standalone_module")
          )
          if use_standalone_module:
              import mock
  
              _mock_module = mock
          else:
              import unittest.mock
  
              _mock_module = unittest.mock
  
      return _mock_module
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_mock_module(config) and returns: _mock_module