This is not necessary because the same check is already performed in the call to CSection::GetCategories() on line 47.