logo

You can call it like this from anywhere in your code:

if (Lang.langExists("fr")) {
    trace("French is loaded!");
} else {
    trace("French is not available.");
}

This is a lightweight utility function that simply wraps the Map.exists() method and checks if the language insert is loaded.