Added support for "isOpen" on nodes

Solves issue #1