Created an isEmpty() method for NodeCollection. (#55)

The simplest of simple methods.