public function hasGroupMembership($uidList)
    {
        if ($uidList === '') {
            throw new \InvalidArgumentException('$uidList must not be empty.', 1331488635);
        }

        $isMember = false;

        foreach (GeneralUtility::trimExplode(',', $uidList, true) as $uid) {
            if ($this->getUserGroups()->hasUid($uid)) {
                $isMember = true;
                break;
            }
        }

        return $isMember;
    }