@Override
    public boolean isDirectory() {
        Path zkPath = getZKPath(path);
        if (zkApp.exists(zkPath)) {
            String data = zkApp.getData(zkPath);
            return data == null || data.isEmpty() || ! zkApp.getChildren(zkPath).isEmpty();
        }
        return false;
    }
@author Ulf Lilleengen
@author Vegard Havdal
configserver/src/main/java/com/yahoo/vespa/config/server/zookeeper/ZKApplicationFile.java