private boolean isValidKeyStroke(KeyStroke ks) {
		if (ks == null) {
			return false;
		}
		char keyChar = ks.getKeyChar();
		return !Character.isWhitespace(keyChar) &&
			Character.getType(keyChar) != Character.DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE;
	}
Processes KeyStroke entry from the text field.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/dialog/KeyBindingsPanel.java