Fix issue #4. Adding an isLeaf() method is trivial. Universal for all implmenetations.