code: def modules():
      import importlib
  
      exists = importlib.util.find_spec
  
      serpent_modules = {
          "OCR": (exists("tesserocr") or exists("pytesseract"))
          is not None,
          "GUI": exists("kivy") is not None,
          "ML": exists("keras") is not None
          and exists("tensorforce") is not None,
          "DASHBOARD": exists("kivy") is not None
          and exists("cefpython3") is not None
          and exists("pony") is not None,
      }
  
      clear_terminal()
      display_serpent_logo()
      print("")
  
      print("Installed Serpent.AI Modules:")
      print("")
  
      print(
          f"OCR => {'Yes' if serpent_modules['OCR'] else 'No; Install with `serpent setup ocr` if needed'}"
      )
      print(
          f"GUI => {'Yes' if serpent_modules['GUI'] else 'No; Install with `serpent setup gui` if needed'}"
      )
      print(
          f"ML => {'Yes' if serpent_modules['ML'] else 'No; Install with `serpent setup ml` if needed'}"
      )
      print(
          f"DASHBOARD => {'Yes' if serpent_modules['DASHBOARD'] else 'No; Install with `serpent setup dashboard` if needed'}"
      )
  
      print("")
  
imports: import os
  import sys
  import shutil
  import subprocess
  import shlex
  import time
  import offshoot
  from serpent.utilities import clear_terminal, display_serpent_logo, is_linux, is_windows, wait_for_crossbar
  from serpent.window_controller import WindowController
label_desc: Use image node_id 10 for calling a global function with example usage: modules() without return types