&& !curricularCourse.getActiveScopesInExecutionPeriod(executionPeriod).isEmpty()) {
&& !curricularCourse.getActiveScopesInExecutionPeriodAndSemester(executionPeriod).isEmpty()) {
    private static void addCurricularCourse(final IExecutionCourse executionCourse, final ICurricularCourse curricularCourse) {    	final IExecutionPeriod executionPeriod = executionCourse.getExecutionPeriod();    	final IDegreeCurricularPlan degreeCurricularPlan = curricularCourse.getDegreeCurricularPlan();    	final IDegree degree = degreeCurricularPlan.getDegree();        if (DEGREE_TYPES_TO_CREATE.contains(degree.getTipoCurso())        		&& !curricularCourse.getActiveScopesInExecutionPeriod(executionPeriod).isEmpty()) {        	curricularCourse.getAssociatedExecutionCourses().add(executionCourse);        }    }