In that case it would be much better just to rephrase it as:
return (queue->node_count == 0);
And avoid mixing the existence of the queue into the comparison. In my eyes the code looks simpler that way.