Returns true if a catalog is registered or currently loaded for targetLocale.
true
targetLocale
bool hasLocale(String targetLocale) => getCatalog(targetLocale) != null;