private function seoTitleIsUnique($id,
        string $generatedAlias,
        string $aliasColumn = 'seoTitle'): bool
    {
        $alias = Strings::webalize($generatedAlias);
        if ($id === null) {
            $results = $this->repository->findBy([$aliasColumn => $alias]);
        } else {
            $results = $this->repository->findBy([$aliasColumn => $alias, 'id !=' => $id]);
        }
        return count($results) === 0;
    }