title: How to find whether a tree node has children
body: <p>I am trying to find a code for knowing whether the tree node
  has children in Tkinter python 2.6. I tried with similar wxpython code but it fails!
  This is for I wanted to do some programming with my ttk treeview widget, if I can get these details
  like if there is any child node exists(True/False) or how many child node count then it is easy for me 
  to make "IF-Conditions" in my program.</p>
  
  <p>Somebody please help me soon</p>
  
  <p>Please note my code</p>
  
  <pre><code>childItems= self.tree.ItemHasChildren("Arithmetic")
  
  print childItems
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>AttributeError: Treeview instance has no attribute 'ItemHasChildren'</p>
  </blockquote>