pub trait IsValid { // Required method fn is_valid(&self) -> bool; }
A utility trait for boolean validity checks.
Check if this instance is valid, discarding all further information why if not.