code: def cur_iter_done(self):
          
          return all(
              self._get_result_time(result) >= self._cumul_r
              for result in self._live_trials.values())
docs: Checks if all iterations have completed.
  
          TODO(rliaw): also check that `t.iterations == self._r`