code: public TaskStatus getTaskStatus() {
      TaskStatusUpdate update = get(TaskStatusUpdate.class);
      if (update == null) {
        return null;
      }
      return update.getStatus();
    }
docs: Returns TaskStatus if this update carries one, null otherwise