code: def list_windows(self):
          
          windows = [w for w in self._windows if w['session_id'] == self._session_id]
  
          return [Window(session=self, **window) for window in windows]
docs: Return a list of :class:`Window` from the ``tmux(1)`` session.
  
          Returns
          -------
          :class:`Window`