code: def runtime(self):
          
          if self._start_time is None:
              return self._run_time
          else:
              return self._run_time + (time.time() - self._start_time)
docs: Return server uptime.