@Override
		void bookmarkAction(Program program, Address addr, Match match) {
			if (setbookmark) {
				BookmarkManager bookmarkManager = program.getBookmarkManager();
				bookmarkManager.setBookmark(addr, BookmarkType.ANALYSIS, "Possible " + getName(),
					"Match pattern " + match.getSequenceIndex());
			}
		}
Get an existing function right above the addr.
@param program program to check
@param addr address to check
@return true if there is an existing function above addr
Ghidra/Features/BytePatterns/src/main/java/ghidra/app/analyzers/FunctionStartAnalyzer.java