e49a1470ba
It appears identically as a closure in two functions. Also change its return type from `bool` to `Option<()>` so it can be used with `?`.