return device.deprecation_date and device.deprecation_date < datetime.combine(datetime.today(), time())