});  return !result.isEmpty();
} return false;
    public boolean hasActiveScopeInGivenSemesterForGivenBranch(final Integer semester,            final IBranch branch) {        List scopes = this.getScopes();        List result = (List) CollectionUtils.select(scopes, new Predicate() {            public boolean evaluate(Object obj) {                ICurricularCourseScope curricularCourseScope = (ICurricularCourseScope) obj;                return (curricularCourseScope.getCurricularSemester().getSemester().equals(semester)                        && curricularCourseScope.isActive().booleanValue() && curricularCourseScope                        .getBranch().equals(branch));            }        });        return !result.isEmpty();    }