code: def hasExpired(self):
          
          return (datetime.datetime.utcnow() - self.lastUpdateTime).total_seconds() > self.maxAgeSeconds
docs: :return: true if the lastUpdateTime is more than maxAge seconds ago.