def is_in_grace_period():
 get_installation_key()
 installation_time = PersistentCacheEntry.objects.get(**INSTALLATION_KEY_KWARGS).time
 return ((now() - installation_time).total_seconds() < ((60 * 60) * 24))

def is_in_grace_period ( ) : get_installation_key ( ) installation_time = PersistentCacheEntry . objects . get ( ** INSTALLATION_KEY_KWARGS ) . time return ( ( now ( ) - installation_time ) . total_seconds ( ) < ( ( 60 * 60 ) * 24 ) )
return true if the telemetry module is within the 24-hours-from-installation grace period where no stats are sent .