code: def find_checkpoint_config_near_filename(info):
      if info is None:
          return None
  
      config = f"{os.path.splitext(info.filename)[0]}.yaml"
      if os.path.exists(config):
          return config
  
      return None
  
imports: import os
  import torch
  from modules import shared, paths, sd_disable_initialization, devices
label_desc: Use image node_id 4 for calling a global function with example usage: find_checkpoint_config_near_filename(info) and returns: None, None, config