simplifiede isLeafNode()