@Override
    public boolean isAvailable() {
        return translator != null && translator.isAvailable();
    }
@param translator the translator to set
tika-translate/src/main/java/org/apache/tika/language/translate/impl/CachedTranslator.java