boolean answer4Found = myTools.dataSearch("Answer", "id", answer4Id);
// Now check, if not all the database checks are true, return false status
if(!(questionFound && correctAnswerFound && answer2Found && answer3Found && answer4Found)) {
return new QuestionStatusJson(false);
}
return new QuestionStatusJson(true);
}
}
}
}
}