code: def equal_lengths(
      x: Sized, y: Sized, reason: Optional[str] = None
  ) -> None:
      if len(x) == len(y):
          return
  
      msg = (
          "CHECK FAILED! Expected lengths {} and {} to be equal".format(
              len(x), len(y)
          )
      )
      msg += "; values: {}, {}".format(x, y)
      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 21 for calling a global function with example usage: equal_lengths(x, y, reason) without return types