public function has(string $key): bool
    {
        foreach ($this->repositories as $repository) {
            if ($repository->has($key)) {
                return true;
            }
        }

        return false;
    }