I mean it's not required because if `headers.length === 0` then the loop will not run (because the while condition will immediately be false) then `groupFound` will be false, and then you'll append it.

So it's clearly redundant.