}
    public static boolean verifyCondition(IUserView id, Integer objectId) throws ExcepcaoPersistencia {        final Person person = id.getPerson();        if (person != null) {            final ExecutionDegree executionDegree = rootDomainObject.readExecutionDegreeByOID(objectId);            if (person.getTeacher() != null && person.hasRole(RoleType.COORDINATOR)) {                final Teacher teacher = person.getTeacher();                for (final Coordinator coordinator : teacher.getCoordinators()) {                    if (executionDegree.getCoordinatorsListSet().contains(coordinator)) {                        return true;                    }                }            } else if (person.getEmployee() != null && person.hasRole(RoleType.DEPARTMENT_ADMINISTRATIVE_OFFICE)) {                final Employee employee = person.getEmployee();                final Department department = employee.getCurrentDepartmentWorkingPlace();                for (final CompetenceCourse competenceCourse : department.getCompetenceCoursesSet()) {                    for (final CurricularCourse curricularCourse : competenceCourse.getAssociatedCurricularCoursesSet()) {                        if (curricularCourse.getType() == CurricularCourseType.TFC_COURSE) {                            final DegreeCurricularPlan degreeCurricularPlan = curricularCourse.getDegreeCurricularPlan();                            if (degreeCurricularPlan.getExecutionDegreesSet().contains(executionDegree)) {                                return true;                            }                        }                    }                }            }        }        return false;    }