no need to queryAll, just query _one_ and check if this returns null.

Or better, from the container, navigate until the ul, and then check if firstElementChild exists.