Compruebe si la hora es 24 horas más antigua Python

from datetime import datetime, timedelta

if (datetime.utcnow() - last_updated) > timedelta(1): 
    # more than 24 hours passed
Itchy Impala