protected boolean hasSelection() {
		return table.getSelectedRowCount() != 0;
	}
Returns true if the list in this panel has any list items selected.

@return true if the list has an item selected
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/tags/TagListPanel.java