code: def maybe_show_hints(res):
      """Helper to add hints to custom result rendering"""
      # check for missing file system info
      # if the system record lacks file system information, hint at a psutil
      # problem. Query for TMP should be safe, is included in system info
      from datalad.ui.utils import show_hint
  
      if (
          "system" in res.get("infos", {})
          and "type" not in res["infos"]["system"]["filesystem"]["TMP"]
      ):
          try:
              import psutil
          except ImportError:
              show_hint(
                  "Hint: install psutil to get filesystem information"
              )
  
imports: import logging
  import os
  import os.path
  import sys
  import tempfile
  import textwrap
  from collections import defaultdict
  from functools import partial
  from datalad.dochelpers import get_docstring_split
  from datalad.interface.base import Interface, build_doc
  from datalad.utils import ensure_unicode, getpwd, unlink, Path
  from datalad.support.external_versions import external_versions
  from datalad.support.exceptions import CapturedException, CommandError, InvalidGitRepositoryError
  from datalad import __version__
label_desc: Use image node_id 16 for calling a global function with example usage: maybe_show_hints(res) without return types