In this case you check the list twice, once for presence, once for the value. Why not do both in the same step?