code: def check_type(
      val: Any, expected: type, reason: Optional[str] = None
  ) -> None:
      return is_type(val, expected, reason)
  
imports: from typing import Any, Container, Optional, Sized, Tuple, Type, Union
label_desc: Use image node_id 30 for calling a global function with example usage: check_type(val, expected, reason) and returns: is_type