Refactor the `System::isInstalledLanguage()` method