A simplistic node type checking library