<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hide(self):
 """ Simulates switching the display mode OFF; this is achieved by setting the contrast level to zero. """

        if self._prev_contrast is None:
            self._prev_contrast = self._contrast
            self.contrast(0x00)