Returns true if the category has subcategories.
bool get hasSubcategories => subcategories.isNotEmpty;