public boolean isLeaf() {
        return leaf;
    }
Returns true if this default configuration belongs to a leaf node.

@return true if this default configuration belongs to a leaf node.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.java