is_tree function

Check if object is S3 class git_tree