@Override
  protected boolean doIsSelected(@NotNull AnActionEvent e) {
    return hasTask(getTaskActivator(e), getTasks(e).get(0));
  }
@Override
  protected boolean doIsSelected(@NotNull AnActionEvent e)