public boolean isCorrectTask() {
        return !this.getQuestion().isEmpty() && this.getOwner() != null &&
                this.getVariants().size() > 1 && this.getAnswerIndex() >= 0 &&
                this.getAnswerIndex() < this.getVariants().size();
    }