code: def supported_language(lang):
      
      try:
        self.get_collection(lang=lang)
        return True
      except LanguageNotSupported as e:
        return False
docs: Return True if polyglot supports the language.
  
      Args:
        lang (string): Language code.