code: def check_length(length, value, name):
      if len(value) != length:
          raise ValueError(
              f"`{name}` must be of length 4 not {len(value)}"
          )
  
imports: from collections.abc import Mapping, Sequence
  from typing import Any, Optional, Union
  from haiku._src import basic
  from haiku._src import batch_norm
  from haiku._src import conv
  from haiku._src import module
  from haiku._src import pool
  import jax
  import jax.numpy
label_desc: Use image node_id 1 for calling a global function with example usage: check_length(length, value, name) without return types