public boolean containsPart(final String part) {
        return parentParts.contains(part) || Objects.equals(leafPart, part);
    }
Append parts onto the end of this and return a new {@link DocPath}
stroom-util-shared/src/main/java/stroom/util/shared/DocPath.java