private function isTranslationRemoved($document, $locale)
    {
        $oid = spl_object_hash($document);

        return isset($this->documentTranslations[$oid])
            && empty($this->documentTranslations[$oid][$locale])
            && array_key_exists($locale, $this->documentTranslations[$oid]);
    }