<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_previous_question(self, assessment_section_id, item_id):
 """Tests if there is a previous question preceeding the given question ``Id``. arg: assessment_section_id (osid.id.Id):
 ``Id`` of the ``AssessmentSection`` arg: item_id (osid.id.Id):
 ``Id`` of the ``Item`` return: (boolean) - ``true`` if there is a previous question, ``false`` otherwise raise: IllegalState - ``has_assessment_section_begun() is false or is_assessment_section_over() is true`` raise: NotFound - ``assessment_section_id`` or ``item_id`` is not found, or ``item_id`` not part of ``assessment_section_id`` raise: NullArgument - ``assessment_section_id`` or ``item_id`` is ``null`` raise: OperationFailed - unable to complete request raise: PermissionDenied - authorization failure occurred *compliance: mandatory -- This method must be implemented.* """

        try:
            self.get_previous_question(assessment_section_id, item_id)
        except errors.IllegalState:
            return False
        else:
            return True