Yes, but since the `foreach` loop will not have any effect in this case the test is not useful