code: def get_array_prepare(*args):
      """Find the wrapper for the array with the highest priority.
  
      In case of ties, leftmost wins. If no wrapper is found, return None
      """
      wrappers = sorted(
          (getattr(x, "__array_priority__", 0), -i, x.__array_prepare__)
          for i, x in enumerate(args)
          if hasattr(x, "__array_prepare__")
      )
      if wrappers:
          return wrappers[-1][-1]
      return None
  
imports: from __future__ import division, absolute_import, print_function
  import functools
  import warnings
  import numpy.core.numeric
  from numpy.core.numeric import asarray, zeros, outer, concatenate, array, asanyarray
  from numpy.core.fromnumeric import product, reshape, transpose
  from numpy.core.multiarray import normalize_axis_index
  from numpy.core import overrides
  from numpy.core import vstack, atleast_3d
  from numpy.core.shape_base import _arrays_for_stack_dispatcher, _warn_for_nonsequence
  from numpy.lib.index_tricks import ndindex
  from numpy.matrixlib.defmatrix import matrix
label_desc: Use image node_id 25 for calling a global function with example usage: get_array_prepare() and returns: None, wrappers