Checks if a given language code is known to the library database.
This avoids the mismatch with jquery.uls database in preparation to replace jquery.uls data with language-data module