code: def test_parse_toml_type():
      from tomlkit.toml_document import TOMLDocument
  
      from dvc.utils.serialize._toml import parse_toml
  
      contents = (
          "# A Title [foo]\nbar = 42# meaning of life\nbaz = [1, 2]\n"
      )
  
      parsed = parse_toml(contents, ".")
      assert not isinstance(parsed, TOMLDocument)
      assert isinstance(parsed, dict)
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_parse_toml_type() without return types