public static VisitResult result(boolean include, boolean cont) {
			if (include) {
				if (cont) {
					return INCLUDE_DESCEND;
				}
				else {
					return INCLUDE_PRUNE;
				}
			}
			else {
				if (cont) {
					return EXCLUDE_DESCEND;
				}
				else {
					return EXCLUDE_PRUNE;
				}
			}
		}
Get the result that indicates the given inclusion and continuation

@param include true to include the value just traversed, false to exclude
@param cont true to continue traversal, false to terminate
@return the result
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/target/visitors/TreeTraversal.java