code: def restore_config_state_file():
      from modules import shared, config_states
  
      config_state_file = shared.opts.restore_config_state_file
      if config_state_file == "":
          return
  
      shared.opts.restore_config_state_file = ""
      shared.opts.save(shared.config_filename)
  
      if os.path.isfile(config_state_file):
          print(
              f"*** About to restore extension state from file: {config_state_file}"
          )
          with open(config_state_file, "r", encoding="utf-8") as f:
              config_state = json.load(f)
              config_states.restore_extension_config(config_state)
          startup_timer.record("restore extension config")
      elif config_state_file:
          print(
              f"!!! Config state backup not found: {config_state_file}"
          )
  
file_path: stable-diffusion-webui/modules/initialize_util.py
imports: import json
  import os
  import signal
  import sys
  import re
  from modules.timer import startup_timer
label_desc: Use image node_id 4 for calling a global function with example usage: restore_config_state_file() without return types