@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PyReferenceExpression element) {
    if (!(context.file() instanceof PyFile)) {
      return null;
    }

    final IntentionState state = createState(element);
    if (state != null && state.isAvailable()) {
      return Presentation.of(
        switch (myUnqualifyAll) {
          case YES -> PyPsiBundle.message("INTN.remove.qualifier.from.all.usages");
          case NO -> PyPsiBundle.message("INTN.remove.qualifier.from.this.name");
          case UNSURE -> state.getText();
        }
      );
    }
    return null;
  }
@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PyReferenceExpression element)