if (getCurricularCourse().getDegreeModuleContextsCount() != 1) {
confirmDelete = getCurricularCourse().getDegreeModuleContextsCount() == 1; if (!confirmDelete) {
    public void deleteContext(ActionEvent event) throws FenixFilterException, FenixServiceException {        if (getCurricularCourse().getDegreeModuleContextsCount() != 1) { // Last context?            forceDeleteContext(event);        }    }    