code: def hide(html: str, hide: bool = False) -> str:
      """optionally hide an html snippet (return empty div) if parameter hide=True"""
      if hide:
          return "<div></div>"
      return html
  
file_path: explainerdashboard/explainerdashboard/to_html.py
label_desc: Use image node_id 12 for calling a global function with example usage: hide(html, hide) and returns: html, str