private boolean hasSelection() {
		return selectedAddressSet != null && !selectedAddressSet.isEmpty();
	}
Returns true if there is a user-selection in the listing.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/SearchStringDialog.java