code: def get_installed():
      if sys.version_info >= (3, 8):
          from importlib import metadata as importlib_metadata
      else:
          import importlib_metadata
      return importlib_metadata.distributions()
  
imports: import logging
  import os
  import re
  import subprocess
  import sys
  from guild import util
label_desc: Use image node_id 4 for calling a global function with example usage: get_installed() and returns: importlib_metadata