<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def runtime(self):
 """Return server uptime."""

        if self._start_time is None:
            return self._run_time
        else:
            return self._run_time + (time.time() - self._start_time)