code: async def verify_worker_impls(chain):
      
      valid_worker_impls = get_valid_worker_impls()
      for obj in chain.get_all_links_in_chain():
          worker_impl = obj.worker_impl
          log.info("Verifying {} {} as a {} task...".format(obj.name, obj.task_id, worker_impl))
          # Run tests synchronously for now.  We can parallelize if efficiency
          # is more important than a single simple logfile.
          await valid_worker_impls[worker_impl](chain, obj)
docs: Verify the task type (e.g. decision, build) of each link in the chain.
  
      Args:
          chain (ChainOfTrust): the chain we're operating on
  
      Raises:
          CoTError: on failure