public boolean hasSelection() {
		return (selection != null && !selection.isEmpty());
	}
Returns the code unit containing the action's program location or null
@return the code unit containing the action's program location or null
Ghidra/Features/Base/src/main/java/ghidra/app/context/ProgramLocationActionContext.java