@Override
    public boolean isLeaf() {
        if (children == null) {
            return true;
        }

        return children.isEmpty();
    }
Default implementation for the {@link OrganigramNode}.
primefaces/src/main/java/org/primefaces/model/DefaultOrganigramNode.java