code: def set_active_window_from_pane_id(self, pane_id):
          
          assert isinstance(pane_id, int)
  
          for w in self.windows:
              for p in w.panes:
                  if p.pane_id == pane_id:
                      self.set_active_window(w)
docs: Make the window with this pane ID the active Window.