code: def eq(val: Any, expected: Any, reason: Optional[str] = None) -> None:
      if val == expected:
          return
  
      msg = "CHECK FAILED! Got {}, expected {}".format(val, expected)
      if reason is not None:
          msg += ": {}".format(reason)
  
      raise CheckFailedError(msg)
  
imports: from typing import Any, Container, Optional, Sized, Tuple, Type, Union
label_desc: Use image node_id 9 for calling a global function with example usage: eq(val, expected, reason) without return types