How can I determine if an HTREEITEM is a valid handle to a CTreeCtrl node?

Thanks,
Jaime