private boolean isFoundStringCovered(FoundString definedString, FoundString newString) {
			if (!definedString.getAddress().equals(newString.getAddress())) {
				return false;
			}
			if (definedString.getLength() == newString.getLength()) {
				return true;
			}
			// if the difference between string is only null termination, ignore the difference.
			String stringFromExisting = definedString.getString(program.getMemory());
			String stringFromNew = newString.getString(program.getMemory());
			return stringFromExisting != null && stringFromNew != null &&
				stringFromExisting.length() == stringFromNew.length();
		}
Uses the StringsAnalyzer model to determine if the current FoundString is a high confidence word.

@param foundString
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/CombinedStringSearcher.java