def _is_EOD_exists(self, event):
        # We could have several .exists records, but only the
        # end-of-day .exists will have audit_period_* time of
        # 00:00:00 and be 24hrs apart.
        apb, ape = self._get_audit_period(event)
        return (self._is_exists(event) and apb or ape
                and apb.time() == datetime.time(0, 0, 0)
                and ape.time() == datetime.time(0, 0, 0)
                and ape.date() == (apb.date() + datetime.timedelta(days=1)))
dataset/ETHPy150Open openstack/stacktach-winchester/winchester/pipeline_handler.py/UsageHandler._is_EOD_exists/operator `and` -> `or`