code: def can_proceed(self):
          
          now = datetime.datetime.now()
          delta = datetime.timedelta(days=self.update_interval)
          return now >= self.last_update + delta
docs: Checks whether app can proceed
  
          :return: True iff app is not locked and times since last update < app
              update interval