public boolean isValid(ExecutionYear executionYear) { for (ExecutionPeriod executionPeriod : executionYear.getExecutionPeriods()) { if(isValid(executionPeriod)) { return true; } } return false;
public boolean isValid(ExecutionPeriod executionPeriod) { return (getBegin().isBeforeOrEquals(executionPeriod) && (getEnd() == null || getEnd().isAfterOrEquals(executionPeriod)));
    public boolean isValid(ExecutionYear executionYear) {        for (ExecutionPeriod executionPeriod : executionYear.getExecutionPeriods()) {            if(isValid(executionPeriod)) {                return true;            }        }        return false;    }