override isLeaf()