@Override
  public boolean isAvailable(@NotNull Project project, @NotNull PsiElement context) {
    return context.isValid() && getContainer(context) != null;
  }
@Override
  public boolean isAvailable(@NotNull Project project, @NotNull PsiElement context)