code: def is_pretrained_model_key(key_name: str) -> bool:
      """Check if arguments corresponding to model have a pretrained key or not."""
      return (
          True
          if re.search(r".*model\..*\.pretrained$", key_name)
          else False
      )
  
imports: import argparse
  import re
  from typing import Tuple
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: is_pretrained_model_key(key_name) and returns: unknown