def METHOD_NAME(self):
    ts = self.get_oldest_ts()
    if ts is None:
        return 1
    now = datetime.datetime.now()
    limit = now - datetime.timedelta(minutes=self.sync_max_delay)
    if ts < limit:
        self.status_log("snap too old (%s)" % ts.strftime("%Y-%m-%d %H:%M"))
        return core.status.WARN
    self.status_log("snap at %s" % ts.strftime("%Y-%m-%d %H:%M"))
    return 0