Yes, I think looping and checking to see if the test is fulfilled would be better -- more direct and fewer ways to break.