@Override
  public final boolean canTranslate(final @NotNull String key, final @NotNull Locale locale) {
    final Translation translation = this.translations.get(requireNonNull(key, "key"));
    if (translation == null) return false;
    return translation.translate(requireNonNull(locale, "locale")) != null;
  }
Returns a translation for a given key and locale, if any.

@param key the key
@param locale the locale
@return the translation, or {@code null} if none exists for this key
@since 4.20.0
api/src/main/java/net/kyori/adventure/translation/AbstractTranslationStore.java