code: def _format_entry(entry, fmt):
      from dvc.utils.humanize import naturalsize
  
      size = entry.get("size")
      if size is None:
          size = ""
      else:
          size = naturalsize(size)
      return size, fmt(entry)
  
file_path: dvc/dvc/commands/ls/__init__.py
imports: from dvc.cli import completion, formatter
  from dvc.cli.command import CmdBaseNoRepo
  from dvc.cli.utils import DictAction, append_doc_link
  from dvc.commands.ls.ls_colors import LsColors
  from dvc.exceptions import DvcException
  from dvc.log import logger
  from dvc.ui import ui
label_desc: Use image node_id 1 for calling a global function with example usage: _format_entry(entry, fmt) and returns: size,  fmt