pub fn is_failed(&self) -> bool {
        matches!(self, Self::Revert { .. } | Self::Halt { .. })
    }
Returns `true` if the execution was failed.
core/lib/vm_interface/src/types/outputs/execution_result.rs