minor update to Course.IsEnrolled

also added some comments