Sets given language to given Model editor.

        :param editor: Editor to set language to.
        :type editor: Editor
        :param language: Language to set.
        :type language: Language
        :return: Method success.
        :rtype: bool

def set_language(self, editor, language):
        """
        Sets given language to given Model editor.

        :param editor: Editor to set language to.
        :type editor: Editor
        :param language: Language to set.
        :type language: Language
        :return: Method success.
        :rtype: bool
        """

        LOGGER.debug("> Setting '{0}' language to '{1}' editor.".format(language.name, editor))

        return editor.set_language(language)