code: def _wrap_async(use_async):
      def wrapper(func):
          async def _wrapped(*args, **kwargs):
              return func(*args, **kwargs)
  
          _wrapped.__name__ = func.__name__
          return _wrapped if use_async else func
  
      return wrapper
  
imports: import asyncio
  import sys
  import pytest
  from ..batch import extensible, build_args_binder
label_desc: Use image node_id 1 for calling a global function with example usage: _wrap_async(use_async) and returns: wrapper, unknown, func