code: def check_for_old_version(old_version, new_version):
      """Check for old version references."""
      for old_ver in [old_version.string, old_version.pep_440_str]:
          check_for_lingering_string(old_ver)
  
      if major_minor_change(old_version, new_version):
          old_r_major_minor = "r%s.%s" % (
              old_version.major,
              old_version.minor,
          )
          check_for_lingering_string(old_r_major_minor)
  
imports: import argparse
  import os
  import re
  import subprocess
  import time
label_desc: Use image node_id 12 for calling a global function with example usage: check_for_old_version(old_version, new_version) without return types