if (student.hasAssociatedTutor()) {
if (student.getAssociatedTutor() != null && student.getAssociatedTutor().getTeacher() == teacher) {
    private boolean verifyStudentTutor(Teacher teacher, List<Student> students) throws ExcepcaoPersistencia {        for (Student student : students) {            if (student.hasAssociatedTutor()) {                return true;            }        }            return false;    }