Is there a way to determine if a tree node has a child node

Is there a way to determine if a tree node has a child node