code: def major_minor_change(old_version, new_version):
      """Check if a major or minor change occurred."""
      major_mismatch = old_version.major != new_version.major
      minor_mismatch = old_version.minor != new_version.minor
      if major_mismatch or minor_mismatch:
          return True
      return False
  
imports: import argparse
  import os
  import re
  import subprocess
  import time
label_desc: Use image node_id 10 for calling a global function with example usage: major_minor_change(old_version, new_version) and returns: False, True