code: def check_even_shape(shape):
      if shape[-1] % 2 != 0:
          raise NotImplementedError(
              "Real FFT gradient for odd lengthed last axes is not implemented."
          )
  
file_path: autograd/autograd/numpy/fft.py
imports: from __future__ import absolute_import
  from builtins import zip
  import numpy.fft
  from .numpy_wrapper import wrap_namespace
  from .numpy_vjps import match_complex
  from .None import numpy_wrapper
  from autograd.extend import primitive, defvjp, vspace
label_desc: Use image node_id 6 for calling a global function with example usage: check_even_shape(shape) without return types