@Override
	public boolean ancestorMatches(KeyPath path, boolean strict) {
		if (path.size() < pattern.size()) {
			return false;
		}
		if (strict && path.size() == pattern.size()) {
			return false;
		}
		return matchesUpTo(path, pattern.size());
	}
Convert this pattern to a string.,

<p>
This is the inverse of {@link PathFilter#parse(String)}.

@return the string
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/PathPattern.java