I think the comment on the Python portion of the code is backwards in relation to the is_dormant boolean. When it is set to 1 (True) you can perform actions on the tree, and when it is set to 0 (False) you cannot.
I think the comment on the Python portion of the code is backwards in relation to the is_dormant boolean. When it is set to 1 (True) you can perform actions on the tree, and when it is set to 0 (False) you cannot.