code: def _check_3(arr, funcname):
      if arr.ndim != 3 or arr.shape[2] != 3:
          raise ValueError(
              f"caer.{funcname}: this function expects an array of shape (h, w, 3), "
              f"received an array of shape {arr.shape}."
          )
  
file_path: caer/caer/_internal.py
imports: import numpy
label_desc: Use image node_id 11 for calling a global function with example usage: _check_3(arr, funcname) without return types