Asserts that the given object is a mobx-bonsai node.
The object to check.
The name of the argument being checked. This is used in the error message.
If the object is not a mobx-bonsai node.
Asserts that the given object is a mobx-bonsai node.