def get_previous_state(self):
return self._previous_state<EOL>
Return the state that was visible before the current one.

If the current state is the only one that has ever been visible, the 
current state itself will be returned.