code: public static boolean isAvailable(Locale locale, String... providers) {
          return Optional.ofNullable(getMonetaryFormatsSpi()).orElseThrow(() -> new MonetaryException(
                  "No MonetaryFormatsSingletonSpi " + "loaded, query functionality is not available."))
                  .isAvailable(locale, providers);
      }
docs: Checks if a {@link MonetaryAmountFormat} is available for the given {@link Locale} and providers.
  
  @param locale    the target {@link Locale}, not {@code null}.
  @param providers The providers to be queried, if not set the providers as defined by #getDefaultCurrencyProviderChain()
  are queried.
  @return true, if a corresponding {@link MonetaryAmountFormat} is accessible.