private static @NotNull Condition<AnAction> isActionFiltered(@NotNull ActionManager actionManager,
                                                               @NotNull Keymap keymap,
                                                               @NotNull Shortcut shortcut) {
    return isActionFiltered(actionManager, keymap, sc -> sc != null && sc.startsWith(shortcut));
  }
private static @NotNull Condition<AnAction> isActionFiltered(@NotNull ActionManager actionManager,
                                                               @NotNull Keymap keymap,
                                                               @NotNull Shortcut shortcut)