code: def _raise_if_invalid_day(day: str) -> None:
      valid_days = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
      if day not in valid_days:
          message = "The day you entered '{}' is not valid.  Here are the valid days: [{}]".format(
              day,
              ",".join(valid_days),
          )
          raise ValueError(message)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  import re
  import uuid
  from typing import Any
  import pyspark.sql.functions
  from pyspark.sql.types import ArrayType, BooleanType, StringType
label_desc: Use image node_id 10 for calling a global function with example usage: _raise_if_invalid_day(day) without return types