code: def current_task(loop=None):
      """Return a currently executed task."""
      if loop is None:
          loop = events.get_running_loop()
      return _current_tasks.get(loop)
  
imports: import concurrent.futures
  import contextvars
  import functools
  import inspect
  import itertools
  import types
  import warnings
  import weakref
  from types import GenericAlias
  from .None import base_tasks
  from .None import coroutines
  from .None import events
  from .None import exceptions
  from .None import futures
  from .coroutines import _is_coroutine
label_desc: Use image node_id 1 for calling a global function with example usage: current_task(loop) and returns: _current_tasks