public boolean shouldAddDefinedString(FoundString string) {
		if (!options.includeDefinedStrings()) {
			return false;
		}
		AddressSetView addrSet = options.getAddressSet();
		return addrSet == null || addrSet.contains(string.getAddress());
	}
returns 0 if the strings (they represent address ranges) have any overlap
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/CombinedStringSearcher.java