code: def load_yml(path):
      """
      Loads a yml file
  
      Parameters
      ----------
      path : str
          File path where the yml file is stored.
      Returns
      -------
      d : dict
          Python dict containing the parsed yml file.
      """
      if _is_yaml_available is False:
          raise ModuleNotFoundError(
              'Please install PyYAML using "pip install pyyaml" command.'
          )
  
      if not isinstance(path, str):
          raise ValueError(
              """
              path parameter must be a string
              """
          )
  
      with open(path, "r") as f:
          d = yaml.full_load(f)
  
      return d
  
label_desc: Use image node_id 3 for calling a global function with example usage: load_yml(path) and returns: d