<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def verify_docker_worker_task(chain, link):
 """Docker-worker specific checks. Args: chain (ChainOfTrust):
 the chain we're operating on link (ChainOfTrust or LinkOfTrust):
 the trust object for the signing task. Raises: CoTError: on failure. """

    if chain != link:
        # These two checks will die on `link.cot` if `link` is a ChainOfTrust
        # object (e.g., the task we're running `verify_cot` against is a
        # docker-worker task). So only run these tests if they are not the chain
        # object.
        check_interactive_docker_worker(link)
        verify_docker_image_sha(chain, link)