hasSections method to help pragma mark