code: def set_language(self, language):
          
  
          LOGGER.debug("> Setting editor language to '{0}'.".format(language.name))
          self.__language = language or umbra.ui.languages.PYTHON_LANGUAGE
          self.__set_language_description()
          self.language_changed.emit()
          return True
docs: Sets the language.
  
          :param language: Language to set.
          :type language: Language
          :return: Method success.
          :rtype: bool