if (!subrel.otherType.isStorageCompatible(n.getDbMapping())) { return false; }
    public boolean isParentOf(Node n) {        if (dbmap != null && n.isRelational()) {            Relation subrel = dbmap.getSubnodeRelation();            // if we're dealing with relational child nodes use            // Relation.checkConstraints to avoid loading the child index.            // Note that we only do that if no filter is set, since            // Relation.checkConstraints() would always return false            // if there was a filter property.            if (subrel != null && subrel.otherType != null                               && subrel.otherType.isRelational()                               && subrel.filter == null) {                return subrel.checkConstraints(this, n);            }        }        // just fall back to contains() for non-relational nodes        return contains(n) > -1;    }