code: def _dump(data, stream, sort_keys=False):
      import tomlkit
  
      return tomlkit.dump(data, stream, sort_keys=sort_keys)
  
file_path: dvc/dvc/utils/serialize/_toml.py
imports: from contextlib import contextmanager
  from funcy import reraise
  from ._common import ParseError, _dump_data, _load_data, _modify_data
label_desc: Use image node_id 5 for calling a global function with example usage: _dump(data, stream, sort_keys) and returns: tomlkit