[cleanup] switched to new Name#isEmpty() method