fn is_soft_revocation_reason(reason: Option<&RevocationCode>) -> bool
Checks for explicitly “soft” reason codes. In all other cases, we consider a revocation to be “hard”.