List<Party> officeDegreeUnits = office.getChildParties(
Set<Party> officeDegreeUnits = office.getChildParties(
    public boolean isActiveForOffice(Unit office) {	List<Party> officeDegreeUnits = office.getChildParties(		AccountabilityTypeEnum.ACADEMIC_STRUCTURE, Unit.class);	StudentCurricularPlan activeStudentCurricularPlan = getActiveStudentCurricularPlan();	if (activeStudentCurricularPlan != null) {	    if (officeDegreeUnits.contains(activeStudentCurricularPlan.getDegreeCurricularPlan()		    .getDegree().getUnit())) {		return true;	    }	}	return false;    }