def METHOD_NAME(self, name):
    if self.currentExporter:
        f = self.currentExporter.getFormatByName(name)
        if not f:
            self.lblExportToDescription.setText("")
        else:
            desc = "<b>{}:</b> {}".format(
                name,
                f.description)
            if not f.isValid():
                desc += "<br><br>" + \
                        self.tr("<b>Status:</b> uninstalled.") + \
                        "<br><br>" + \
                        self.tr("<b>Requires:</b> ") + f.InvalidBecause
            self.lblExportToDescription.setText(desc)