Fix a tiny bug in isPrivate.

If an undefined node is passed, it should return false.
Bump version to 0.2.1