title: How to determine if a TreeItem is a leaf or not
body: <p>I have a JFace <code>TreeViewer</code> wherein the user can select a <code>TreeItem</code> and check whether ist a leaf node or not through a menu option.</p>
  
  <p>How do I achieve this?</p>