code: def to_dict(tasks):
      status_dict = {}
      for task in tasks:
          status_dict[task["name"]] = task["status"]
      return status_dict
  
imports: import pytest
  from funcy import first
label_desc: Use image node_id 1 for calling a global function with example usage: to_dict(tasks) and returns: status_dict