As of Rust 1.82.0, we have Option::is_none_or for this exact scenario:
Option::is_none_or
foo.is_none_or(|foo_val| foo_val < 5)