code: func HasImportFunc(ctx context.Context) bool {
  	imf, ok := ctx.Value(ctxKeyImportFunc).(store.ImportCallback)
  	return ok && imf != nil
  }
docs: // HasImportFunc returns true if a value for import func has been set in this
  // context