/** * Return true if this is the top most category that represents the total course grade. * * @return bool */ public function is_course_category() { $this->load_grade_item(); return $this->grade_item->is_course_item(); }