code: def _get_registered_option(key):
      """
      Retrieves the option metadata if `key` is a registered option.
  
      Returns
      -------
      RegisteredOption (namedtuple) if key is deprecated, None otherwise
      """
      return _registered_options.get(key)
  
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 13 for calling a global function with example usage: _get_registered_option(key) and returns: _registered_options