code: def sync_to_async(func):
      """Convert a blocking function to async function"""
  
      if is_async_func(func):
          return func
  
      async def wrapper(*args, **kwargs):
          return func(*args, **kwargs)
  
      return wrapper
  
imports: import asyncio
  import inspect
label_desc: Use image node_id 4 for calling a global function with example usage: sync_to_async(func) and returns: wrapper, func, func