def _get_question_map(self, question_id):
if question_id.get_authority() == ASSESSMENT_AUTHORITY:<EOL><INDENT>key = '<STR_LIT>'<EOL>match_value = ObjectId(question_id.get_identifier())<EOL><DEDENT>else:<EOL><INDENT>key = '<STR_LIT>'<EOL>match_value = str(question_id)<EOL><DEDENT>for question_map in self._my_map['<STR_LIT>']:<EOL><INDENT>if question_map[key] == match_value:<EOL><INDENT>return question_map<EOL><DEDENT><DEDENT>raise errors.NotFound()<EOL>
get question map from questions matching question_id

        This can make sense of both Section assigned Ids or normal Question/Item Ids