def METHOD_NAME(self, worker_id):
    if worker_id in self._worker_eval_times:
        eval = self._worker_eval_times[worker_id]
        if eval.start_eval > 0:
            eval.eval_time += time.time() - eval.start_eval
            eval.start_eval = 0
        return eval.eval_time
    return 0