code: def is_pretrained_cfg_key(model_name, cfg_key):
      """Return truthy value for specified model default_cfg key, False if does not exist."""
      if (
          model_name in _model_pretrained_cfgs
          and _model_pretrained_cfgs[model_name].get(cfg_key, False)
      ):
          return True
      return False
  
file_path: generalized-moe/domainbed/registry.py
imports: import sys
  import re
  import fnmatch
  from collections import defaultdict
  from copy import deepcopy
label_desc: Use image node_id 11 for calling a global function with example usage: is_pretrained_cfg_key(model_name, cfg_key) and returns: False, True