code: def insert_element_to_dict_of_dicts(dict_of_dicts: Dict[str, Dict[str, str]], first_key: str, second_key: str, contents):
      
  
      if first_key not in dict_of_dicts.keys():
          dict_of_dicts[first_key] = {second_key: contents}
      else:
          if second_key not in dict_of_dicts[first_key].keys():
              dict_of_dicts[first_key][second_key] = contents
          else:
              warn('Overriding contents for ' + first_key + '/' + second_key)
              dict_of_dicts[first_key][second_key] = contents
docs: Utility method
  
      :param dict_of_dicts:
      :param first_key:
      :param second_key:
      :param contents:
      :return: