code: async def verify_docker_image_task(chain, link):
      
      errors = []
      # workerType
      worker_type = get_worker_type(link.task)
      if worker_type not in chain.context.config['valid_docker_image_worker_types']:
          errors.append("{} is not a valid docker-image workerType!".format(worker_type))
      raise_on_errors(errors)
docs: Verify the docker image Link.
  
      Args:
          chain (ChainOfTrust): the chain we're operating on.
          link (LinkOfTrust): the task link we're checking.