Same comment as above: use ` ! empty()`.