private boolean checkAvailable() {
        return clientId != null && !clientId.equals(DEFAULT_ID) && clientSecret != null &&
                !clientSecret.equals(DEFAULT_SECRET);
    }
Sets the client secret for the translator API.

@param secret The secret to set.
tika-translate/src/main/java/org/apache/tika/language/translate/impl/MicrosoftTranslator.java