public static boolean localeSupportsCurrencyRetrieval (@Nullable final Locale aLocale)
  {
    return aLocale != null && aLocale.getCountry () != null && aLocale.getCountry ().length () == 2;
  }
public static boolean localeSupportsCurrencyRetrieval ( @ Nullable final Locale aLocale ) { return aLocale != null && aLocale . getCountry ( ) != null && aLocale . getCountry ( ) . length ( ) == 2 ; }
Check if a currency could be available for the given locale.

@param aLocale
The locale to check.
@return <code>true</code> if a currency is available for the given locale,
<code>false</code> otherwise.