code: def true(val: bool, reason: Optional[str] = None) -> None:
      if val:
          return
  
      msg = "CHECK FAILED! Got {}, expected True".format(val)
      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 1 for calling a global function with example usage: true(val, reason) without return types