code: def get_base_vae(model):
      if (
          base_vae is not None
          and checkpoint_info == model.sd_checkpoint_info
          and model
      ):
          return base_vae
      return None
  
imports: import os
  import collections
  from dataclasses import dataclass
  from modules import paths, shared, devices, script_callbacks, sd_models, extra_networks, lowvram, sd_hijack, hashes
  import glob
  from copy import deepcopy
label_desc: Use image node_id 3 for calling a global function with example usage: get_base_vae(model) and returns: None, base_vae