fix .isNode() method return.Fixes #7