Noticing how this is used, a name like `getValidLang(String lang)` might be more clear.