validLang() validLang(string $lang) : boolean Check whether a language string is valid. Parameters string $lang The language to check. Returns boolean — Whether the language is valid.