add method to check if language is available