code: def get_do_separate_z(spacing, anisotropy_threshold=3):
      do_separate_z = (
          np.max(spacing) / np.min(spacing)
      ) > anisotropy_threshold
      return do_separate_z
  
imports: import pickle
  import os
  import numpy
  from collections import OrderedDict
  from scipy.ndimage.interpolation import map_coordinates
  from multiprocessing.pool import Pool
  from skimage.transform import resize
  from .image_crop import get_case_identifier_from_npz, ImageCropper
  from .path_utils import join_paths
label_desc: Use image node_id 2 for calling a global function with example usage: get_do_separate_z(spacing, anisotropy_threshold) and returns: do_separate_z