def reminder_is_stale(reminder, utcnow):
    delta = timedelta(hours=settings.REMINDERS_QUEUE_STALE_REMINDER_DURATION)
    return (utcnow - delta) > reminder.next_fire
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reminders/tasks.py/reminder_is_stale/original