adding 'bool' type to Node::getField()