private boolean isSingleStringMode() {
		return selectedAddresses.getNumAddresses() == 1;
	}
For test/screen shot use

@return button
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/strings/EncodedStringsDialog.java