`bool::is_ok_and()` is available in Rust 1.70.0 and above, which is compatible with the current MSRV.