Check if the delegation is currently valid.
(&self)
| 511 | |
| 512 | /// Check if the delegation is currently valid. |
| 513 | pub fn is_valid(&self) -> bool { |
| 514 | !self.revoked && !self.is_expired() |
| 515 | } |
| 516 | |
| 517 | /// Check if the delegation has expired. |
| 518 | pub fn is_expired(&self) -> bool { |