title: How do I select the root node in jstree?
body: <p>I am trying to embed some functionality in my jstree based on whether it is a root node or if it is one of the child nodes.
  From the jstree documentation and other Stack Overflow posts that I have gone through, I am now able to populate the items correctly, but I am at a roadblock on how to select the root node of the jstree in an "select_node" condition like the following snippet. Is this correct appending the word "root" to select_node? Please advise. (My root item is called "root", if I have to call get_parent() and check how would I pass my root as paramter). Any pointers to proceed would be appreciated.</p>
  
  <pre><code>$(".myjstree").on("select_node.jstree.root", function (e, data){
  // do stuff if this is my root node
  });
  </code></pre>