code: def run_extensions_installers(settings_file):
      if not os.path.isdir(extensions_dir):
          return
  
      with startup_timer.subcategory("run extensions installers"):
          for dirname_extension in list_extensions(settings_file):
              logging.debug(f"Installing {dirname_extension}")
  
              path = os.path.join(extensions_dir, dirname_extension)
  
              if os.path.isdir(path):
                  run_extension_installer(path)
                  startup_timer.record(dirname_extension)
  
imports: import logging
  import re
  import subprocess
  import os
  import shutil
  import sys
  import importlib.util
  import importlib.metadata
  import platform
  import json
  from functools import lru_cache
  from modules import cmd_args, errors
  from modules.paths_internal import script_path, extensions_dir
  from modules.timer import startup_timer
  from modules import logging_config
label_desc: Use image node_id 16 for calling a global function with example usage: run_extensions_installers(settings_file) without return types