code: def check_interactive_docker_worker(link):
      
      errors = []
      log.info("Checking for {} {} interactive docker-worker".format(link.name, link.task_id))
      try:
          if link.task['payload']['features'].get('interactive'):
              errors.append("{} is interactive: task.payload.features.interactive!".format(link.name))
          if link.task['payload']['env'].get('TASKCLUSTER_INTERACTIVE'):
              errors.append("{} is interactive: task.payload.env.TASKCLUSTER_INTERACTIVE!".format(link.name))
      except KeyError:
          errors.append("check_interactive_docker_worker: {} task definition is malformed!".format(link.name))
      return errors
docs: Given a task, make sure the task was not defined as interactive.
  
      * ``task.payload.features.interactive`` must be absent or False.
      * ``task.payload.env.TASKCLUSTER_INTERACTIVE`` must be absent or False.
  
      Args:
          link (LinkOfTrust): the task link we're checking.
  
      Returns:
          list: the list of error errors.  Success is an empty list.