code: def check_pdmultiindex_hierarchical(
      obj, return_metadata=False, var_name="obj"
  ):
      ret = check_pdmultiindex_panel(
          obj,
          return_metadata=return_metadata,
          var_name=var_name,
          panel=False,
      )
  
      return ret
  
imports: import numpy
  from sktime.datatypes._panel._check import check_pdmultiindex_panel
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 2 for calling a global function with example usage: check_pdmultiindex_hierarchical(obj, return_metadata, var_name) and returns: ret