src/Security/Member_GroupSet.php
protected function canAddGroups($itemIDs)
    {
        if (empty($itemIDs)) {
            return true;
        }
        $member = $this->getMember();
        return empty($member) || $member->onChangeGroups($itemIDs);
    }
protected function canAddGroups($itemIDs)
    {
        if (empty($itemIDs)) {
            return true;
        }
        $member = $this->getMember();
        return empty($member) || $member->onChangeGroups($itemIDs);
    }
protected function canAddGroups ( $ itemIDs ) { if ( empty ( $ itemIDs ) ) { return true ; } $ member = $ this -> getMember ( ) ; return empty ( $ member ) || $ member -> onChangeGroups ( $ itemIDs ) ; }
Determine if the following groups IDs can be added

@param array $itemIDs
@return boolean
Determine if the following groups IDs can be added