<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def respond_from_user_question(self, user_question, importance):
 """Respond to a question in exactly the way that is described by the given user_question. :param user_question: The user question to respond with. :type user_question: :class:`.UserQuestion` :param importance: The importance that should be used in responding to the question. :type importance: int see :attr:`.importance_name_to_number` """

        user_response_ids = [option.id
                             for option in user_question.answer_options
                             if option.is_users]
        match_response_ids = [option.id
                              for option in user_question.answer_options
                              if option.is_match]
        if len(match_response_ids) == len(user_question.answer_options):
            match_response_ids = 'irrelevant'
        return self.respond(user_question.id, user_response_ids,
                            match_response_ids, importance,
                            note=user_question.explanation or '')