I wasn't paying enough attention.   You're right, its being treated as a bool, so !empty() will work.  I'll change it.