code: def is_headless() -> bool:
      """Check if the system can support GUI.
  
      Returns
      -------
      bool
          True if we cannot support GUI, False otherwise
      """
      # pylint: disable=import-outside-toplevel
      try:
          import Tkinter as tk
      except ImportError:
          try:
              import tkinter as tk
          except ImportError:
              return True
      try:
          root = tk.Tk()
      except tk.TclError:
          return True
      root.destroy()
      return False
  
imports: import logging
  import os
  import time
  import typing
  from functools import lru_cache
  import plotly.io
  import tqdm
  from ipykernel.zmqshell import ZMQInteractiveShell
  from IPython import get_ipython
  from IPython.display import display
  from IPython.terminal.interactiveshell import TerminalInteractiveShell
  from tqdm.notebook import tqdm
  from deepchecks.utils.logger import get_verbosity
label_desc: Use image node_id 5 for calling a global function with example usage: is_headless() and returns: False, True, True