code: def resolve_vae_from_setting() -> VaeResolution:
      if shared.opts.sd_vae == "None":
          return VaeResolution()
  
      vae_from_options = vae_dict.get(shared.opts.sd_vae, None)
      if vae_from_options is not None:
          return VaeResolution(
              vae_from_options, "specified in settings"
          )
  
      if not is_automatic():
          print(
              f"Couldn't find VAE named {shared.opts.sd_vae}; using None instead"
          )
  
      return VaeResolution(resolved=False)
  
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 11 for calling a global function with example usage: resolve_vae_from_setting() and returns: VaeResolution, VaeResolution, VaeResolution