prefs-zookeeper/src/main/java/com/adobe/prefs/zookeeper/ZkPreferences.java
static boolean isContainerNode(Stat stat) {
        if (stat == null) {
            return false;
        }
        return stat.getCversion() > 0 || (stat.getVersion() == 0 && stat.getDataLength() == 0);
    }
/**
     * Decides whether a znode is to be treated as a child node.
     * A child node is treated as such when its `cversion` is greater than 0
     * (which means it is -- or used to be -- a container for other nodes).
     * When it has no children, we will <i>assume</i> it's meant to be a child node if it doesn't
     * (and never used to) contain any data.
     *
     * <p>Note that a znode can be both a preference key and a child node,
     * if both its value and its children have been modified</p>
     */
Decides whether a znode is to be treated as a child node.
A child node is treated as such when its `cversion` is greater than 0
(which means it is -- or used to be -- a container for other nodes).
When it has no children, we will assume it's meant to be a child node if it doesn't
(and never used to) contain any data.

Note that a znode can be both a preference key and a child node,
if both its value and its children have been modified
Decides whether a znode is to be treated as a child node . A child node is treated as such when its ` cversion ` is greater than 0 ( which means it is -- or used to be -- a container for other nodes ) . When it has no children we will assume it ' s meant to be a child node if it doesn ' t ( and never used to ) contain any data . Note that a znode can be both a preference key and a child node if both its value and its children have been modified
static boolean isContainerNode(Stat stat) {
        if (stat == null) {
            return false;
        }
        return stat.getCversion() > 0 || (stat.getVersion() == 0 && stat.getDataLength() == 0);
    }
static boolean isContainerNode ( Stat stat ) { if ( stat == null ) { return false ; } return stat . getCversion ( ) > 0 || ( stat . getVersion ( ) == 0 && stat . getDataLength ( ) == 0 ) ; }
Decides whether a znode is to be treated as a child node.
Decides whether a znode is to be treated as a child node .