(self)
return False
Check if the link has expired.
Check if the link has expired.
Check if the link has expired .
def has_expired(self):
        """Check if the link has expired."""
        if self.link and self.link.is_disabled:
            return True
        if self.link and (time.time() >= self.expire_at_epoch):
            self.disable()
            return True
        return False
def has_expired ( self ) : if self . link and self . link . is_disabled : return True if self . link and ( time . time ( ) >= self . expire_at_epoch ) : self . disable ( ) return True return False