code: def check_image_array_hash(image_arr: np.ndarray) -> None:
      """
      Checks the sanity of the input image numpy array for hashing functions.
  
      Args:
          image_arr: Image array.
      """
      image_arr_shape = image_arr.shape
      if len(image_arr_shape) == 3:
          _check_3_dim(image_arr_shape)
      elif len(image_arr_shape) > 3 or len(image_arr_shape) < 2:
          _raise_wrong_dim_value_error(image_arr_shape)
  
file_path: imagededup/imagededup/utils/image_utils.py
imports: from pathlib import PurePath
  from typing import List, Union, Tuple
  import numpy
  from PIL import Image
  from imagededup.utils.logger import return_logger
label_desc: Use image node_id 4 for calling a global function with example usage: check_image_array_hash(image_arr) without return types