public FidSearchResult searchFunction(Function function, TaskMonitor monitor)
			throws MemoryAccessException, CancelledException {
		HashFamily family = getFamily(function, monitor);
		FidSearchResult fidResult = null;
		if (family != null) {
			fidResult = processMatches(function, family, monitor);
			if (fidResult == null) {
				fidResult = new FidSearchResult(function, family.getHash(), null);
			}
		}
		return fidResult;
	}
Search for matches to a single function. Only returns null, if the function can't be hashed.
@param function is the function to search for
@param monitor is a monitor to check for cancels
@return the FidSearchResult object describing any matches (or if there are none)
@throws MemoryAccessException
@throws CancelledException
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/service/FidProgramSeeker.java