return CollectionUtils.exists(this.getAssociatedCurricularCourses(), new Predicate() {  public boolean evaluate(Object input) { ICurricularCourse curricularCourse = (ICurricularCourse) input; return !curricularCourse.getDegreeCurricularPlan().getDegree().getTipoCurso().equals( DegreeType.DEGREE);
for (final ICurricularCourse curricularCourse : getAssociatedCurricularCourses()) { if (curricularCourse.getDegreeCurricularPlan().getDegree().getTipoCurso() != DegreeType.MASTER_DEGREE) { return false;
    public boolean isMasterDegreeOnly() {        return CollectionUtils.exists(this.getAssociatedCurricularCourses(), new Predicate() {            public boolean evaluate(Object input) {                ICurricularCourse curricularCourse = (ICurricularCourse) input;                return !curricularCourse.getDegreeCurricularPlan().getDegree().getTipoCurso().equals(                        DegreeType.DEGREE);            }        });    }