List<Professorship> responsiblesFor = executionCourse.responsibleFors();
List<Professorship> professorships = executionCourse.getProfessorships();
    protected boolean verifyCondition(IUserView id, Integer executionCourseID) {        try {            Teacher teacher = Teacher.readTeacherByUsername(id.getUtilizador());            ExecutionCourse executionCourse = (ExecutionCourse) persistentObject.readByOID(                    ExecutionCourse.class, executionCourseID);            List<Professorship> responsiblesFor = executionCourse.responsibleFors();            for (Professorship responsibleFor : responsiblesFor) {                if (responsibleFor.getTeacher().equals(teacher))                    return true;            }            return false;        } catch (ExcepcaoPersistencia e) {            return false;        } catch (Exception e) {            return false;        }    }