Faster TreeNode#is_root?