.getAllLegalRegimensWithoutSpecialSituations(lastExecutionPeriod
.getAllLegalRegimensWithoutEndSituations(lastExecutionPeriod
    private boolean verifyIfTeacherIsInactive(Teacher teacher,            List<ExecutionPeriod> executionPeriodsBetween) {        if (!executionPeriodsBetween.isEmpty()) {            ExecutionPeriod lastExecutionPeriod = executionPeriodsBetween.get(executionPeriodsBetween                    .size() - 1);            List<TeacherLegalRegimen> allLegalRegimens = teacher                    .getAllLegalRegimensWithoutSpecialSituations(lastExecutionPeriod                            .getBeginDate(), lastExecutionPeriod.getEndDate());            if (allLegalRegimens.isEmpty()) {                return true;            }        }        return false;    }