@jamessan and then `return !failed` at the end? I'm OK with it, but is it cleaner?