public boolean contains(String text, String sourceLanguage, String targetLanguage) {
        LRUMap<String, String> translationCache =
                getTranslationCache(sourceLanguage, targetLanguage);
        return translationCache.get(text) != null;
    }
Check whether this CachedTranslator's cache contains a translation of the text from the
source language to the target language.

@param text           What string to check for.
@param sourceLanguage The source language of translation.
@param targetLanguage The target language of translation.
@return true if the cache contains a translation of the text, false otherwise.
tika-translate/src/main/java/org/apache/tika/language/translate/impl/CachedTranslator.java