def METHOD_NAME(self):
    """Triggers on_new_version event for all the documents modified since last_poll_time."""
    t = datetime.datetime.utcnow()
    reloaded = False
    keys = []
    for prefix in self.prefixes:
        q = {
            "key~": prefix + "*",
            "last_modified>": self.last_poll_time.isoformat(),
            "limit": 1000,
        }
        keys += web.ctx.site.things(q)
    if keys:
        web.ctx._invalidation_inprogress = True
        docs = web.ctx.site.get_many(keys)
        for doc in docs:
            with contextlib.suppress(Exception):
                client._run_hooks("on_new_version", doc)
        self.last_update_time = max(doc.last_modified for doc in docs)
        reloaded = True
        del web.ctx._invalidation_inprogress
    self.last_poll_time = t
    return reloaded