more cpp support. add Node.isParent to help in super static languages