This looks convoluted. Why isn't this a traditional `for`, with the `return false` happening outside of it?