code: def is_obsolete(self):
          
          if self.cache_updated:
              now = timezone.now()
              delta = now - self.cache_updated
              if delta.seconds < self.cache_validity:
                  return False
          return True
docs: returns True is data is obsolete and needs revalidation