There's been debate that it is good to have one return statement(s) centralized at the bottom of the function for readability purpose.
But small codes like this one, sometimes makes it easier to read when you return right within the condition.
So, I'll changed it to return within the loop.