def _on_idle(self):
    if not self.action():
      return None
    return True
An idler eventloop can run.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/ndb/context.py/AutoBatcher._on_idle