code: def _check_3_dim(image_arr_shape: Tuple) -> None:
      """
      Checks that image array is represented in the (x, y, 3) format.
  
      Args:
          image_arr_shape: Shape of the image numpy array.
      """
      assert image_arr_shape[2] == 3, (
          f"Received image array with shape: {image_arr_shape}, expected image array shape is "
          f"(x, y, 3)"
      )
  
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 1 for calling a global function with example usage: _check_3_dim(image_arr_shape) without return types