code: def check_future(self, fut):
          
          done = self.done = fut.done()
          if done and not self.prev_done:
              self.done_since = self.ioloop.time()
          self.prev_done = done
docs: Call with each future that is to be yielded on