Use new is_ok functions for Result checks in hand-written code