code: def _check_2(arr, funcname):
      if arr.ndim != 2:
          raise ValueError(
              f"caer.{funcname}: this function can only handle 2D arrays (passed array with shape {arr.shape})."
          )
  
file_path: caer/caer/_internal.py
imports: import numpy
label_desc: Use image node_id 12 for calling a global function with example usage: _check_2(arr, funcname) without return types