code: def wrap_single_convertor(convert_single):
      """
      Wraps a ``__ua_convert__`` defined for a single element to all elements.
      If any of them return ``NotImplemented``, the operation is assumed to be
      undefined.
  
      Accepts a signature of (value, type, coerce).
      """
  
      @functools.wraps(convert_single)
      def __ua_convert__(dispatchables, coerce):
          converted = []
          for d in dispatchables:
              c = convert_single(
                  d.value, d.type, coerce and d.coercible
              )
  
              if c is NotImplemented:
                  return NotImplemented
  
              converted.append(c)
  
          return converted
  
      return __ua_convert__
  
imports: import typing
  import types
  import inspect
  import functools
  from .None import _uarray
  import copyreg
  import pickle
  import contextlib
  from ._uarray import BackendNotImplementedError, _Function, _SkipBackendContext, _SetBackendContext, _BackendState
label_desc: Use image node_id 19 for calling a global function with example usage: wrap_single_convertor(convert_single) and returns: __ua_convert__, converted, NotImplemented