Follow up to review for performance #5407

#5407 

##### Performance hotfix for SCHOLAR-3.11

#### Changes

* Replace `og_get_all_group_bundles()` with `og_is_group()`