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():<EOL><INDENT>dict_of_dicts[first_key] = {second_key: contents}<EOL><DEDENT>else:<EOL><INDENT>if second_key not in dict_of_dicts[first_key].keys():<EOL><INDENT>dict_of_dicts[first_key][second_key] = contents<EOL><DEDENT>else:<EOL><INDENT>warn('<STR_LIT>' + first_key + '<STR_LIT:/>' + second_key)<EOL>dict_of_dicts[first_key][second_key] = contents<EOL><DEDENT><DEDENT>
Utility method

:param dict_of_dicts:
:param first_key:
:param second_key:
:param contents:
:return: