Added NodeCollection::isNotEmpty()