private Set<FunctionTag> getTagsAtAddress(Listing listing, Address addr) {

		Function function = listing.getFunctionContaining(addr);
		if (function == null) {
			return Collections.emptySet();
		}

		return function.getTags();
	}
Returns a set of all function tags for the function containing the given address, for the
given listing.

@param listing the listing
@param addr the function address to inspect
@return set of function tags or an empty set if the address isn't in a function.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMerge.java