code: def previous_active_pane(self):
          
          p = self._prev_active_pane and self._prev_active_pane()
  
          # Only return when this pane actually still exists in the current
          # window.
          if p and p in self.panes:
              return p
docs: The previous active :class:`.Pane` or `None` if unknown.