Add a flag for childless nodes (or parent nodes)
Explain the problem as you see it
I have no way to query specifically for nodes which are childless or at the contrary which have some children.
Why is this a problem for you?
I am trying to query nodes based on a set of criteria but the only ones which interest me are the ones that are full of content (= children).
Suggest a solution
a HAS CHILDREN operator