Added isEmpty Function for Tree

The isEmpty function will show whether or not a tree is empty after
it has been resumed.