Use a function hasLang for clarity