This version of Unity is unsupported.

IQueryNode.leaf

public bool leaf;

Description

True if this node is a leaf. A leaf doesn't have any children.