private function checkAkismet(SiteConfig $siteConfig)
    {
        try {
            $akismet = new Akismet(Director::absoluteBaseURL(), $siteConfig->AkismetKey);
            $akismet->setCommentAuthor($this->Name);
            $akismet->setCommentContent($this->Comment);
            $akismet->setCommentAuthorEmail($this->Email);
            $akismet->setCommentAuthorURL($this->URL);
            $result = (int)$akismet->isCommentSpam();
            if ($result) {
                $this->AkismetMarked = true;
                $this->Visible = false;
            }
        } catch (Exception $e) {
            /**
             * Akismet didn't work, most likely the service is down.
             * Just to be on the safe side, we hide this comment.
             */
            $this->Visible = false;
        }
    }