Add two utility functions to HaxeDummyNode to detect whether a node is a dummy node.