code: def _format_table_val(val):
      if val is None:
          return ""
      if isinstance(val, str):
          return val
      return str(val)
  
imports: import functools
  import logging
  import os
  import sys
  import shutil
  import typing
  import click
  from guild import ansi_util
  from guild import config
label_desc: Use image node_id 16 for calling a global function with example usage: _format_table_val(val) and returns: str, str, val