code: func HasPassPromptFunc(ctx context.Context) bool {
  	ppf, ok := ctx.Value(ctxKeyPassPromptFunc).(PassPromptFunc)
  	return ok && ppf != nil
  }
docs: // HasPassPromptFunc returns true if a value for the pass prompt func has been
  // set in this context