@Override
  public boolean isSelected(@NotNull AnActionEvent e) {
    ThumbnailView view = ThumbnailViewActionUtil.getVisibleThumbnailView(e);
    return view != null && view.isRecursive();
  }
@Override
  public boolean isSelected(@NotNull AnActionEvent e)