code: def validate_deprecation_args(date, instructions):
      if date is not None and not re.match(
          r"20\d\d-[01]\d-[0123]\d", date
      ):
          raise ValueError("Date must be YYYY-MM-DD.")
      if not instructions:
          raise ValueError(
              "Don't deprecate things without conversion instructions!"
          )
  
imports: import re
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: validate_deprecation_args(date, instructions) without return types