[closes #2] node_is_subclass utility function now checks all parent classes, rather than just the direct parent