code: def merge_config(config, another_cfg=None):
      """
      Merge config into global config or another_cfg.
  
      Args:
          config (dict): Config to be merged.
  
      Returns: global config
      """
      global global_config
      dct = another_cfg or global_config
      return dict_merge(dct, config)
  
imports: from __future__ import absolute_import
  from __future__ import print_function
  from __future__ import division
  import importlib
  import os
  import sys
  import yaml
  import collections
  from .config.schema import SchemaDict, SharedConfig, extract_schema
  from .config.yaml_helpers import serializable
label_desc: Use image node_id 5 for calling a global function with example usage: merge_config(config, another_cfg) and returns: dict_merge