IEnrolment enrollment = (IEnrolment) obj;
IEnrollment enrollment = (IEnrollment) obj;
	public boolean isCurricularCourseEnrolled(ICurricularCourse curricularCourse) {		List studentEnrolledEnrollments = this.getStudentEnrolledEnrollments();		List result = (List) CollectionUtils.collect(				studentEnrolledEnrollments, new Transformer() {					public Object transform(Object obj) {						IEnrolment enrollment = (IEnrolment) obj;						return enrollment.getCurricularCourse();					}				});		if (result.contains(curricularCourse)) {			return true;		}		return false;	}