code: def get_yaml_dict(yaml_file):
      
      try:
          with open(yaml_file, 'r') as file_:
              yaml_dict = yaml.safe_load(file_.read()) or {}
          return yaml_dict
      except FileNotFoundError:
          return {}
docs: Return a yaml_dict from reading yaml_file. If yaml_file is empty or
      doesn't exist, return an empty dict instead.