<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def change_forms(self, *args, **keywords):
 """ Checks which form is currently displayed and toggles to the other one """

        # Returns to previous Form in history if there is a previous Form
        try:
            self.parentApp.switchFormPrevious()
        except Exception as e:  # pragma: no cover
            self.parentApp.switchForm('MAIN')