code: def _get_option(pat, silent=False):
      key = _get_single_key(pat, silent)
  
      # walk the nested dict
      root, k = _get_root(key)
      return root[k]
  
imports: from collections import namedtuple
  from contextlib import contextmanager
  import re
  import warnings
  import pandas.compat
  from pandas.compat import lmap, map, u
label_desc: Use image node_id 2 for calling a global function with example usage: _get_option(pat, silent) and returns: root