has children query is needed for tree nodes...