public function validate(string $content)
    {
        if ($this->hasRetriever()) {
            $this->validateWithRetriever($content);
        } else {
            $this->validateWithoutRetriever($content);
        }
    }