code: def list_sessions(self) -> List[Session]:
          
          data = self._client.get("/sessions")
          return [Session.from_json(item) for item in data["sessions"]]
docs: List all the active sessions in Livy.