protected function isEditedGroup($accessLevel, Group $editedGroup)
    {
        $parts = explode('\\', $accessLevel);
    
        if ($parts[1] === 'Group' && count($parts) === 3 && $parts[2] === $editedGroup->getUuid()) {
            return true;
        }
        
        return false;
    }