Simplify the test by having a let.