def needs_bootstrap(self):
        return (
            not self.bootstrapped
            or datetime.utcnow() - self.last_bootstrapped > timedelta(seconds=REBUILD_CHECK_INTERVAL)
        )
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/pillow.py/ConfigurableReportTableManagerMixin.needs_bootstrap/original