public boolean match(@Nonnull KeyEvent event) {
		if (size() == 1)
			// Simple 1-key check
			return event.getCode().getName().equalsIgnoreCase(get(0));
		else if (size() > 1) {
			// Checking binds with masks
			Set<String> bindSet = new HashSet<>(this);
			Set<String> eventSet = namesOf(event);
			return bindSet.equals(eventSet);
		} else
			throw new IllegalStateException("Keybind must have have at least 1 key!");
	}
@param event
		JFX key event.

@return {@code true} if the event matches the current bind.
recaf-ui/src/main/java/software/coley/recaf/ui/config/Binding.java