code: def _ask_overwrite(path: Text) -> None:
      import questionary
  
      overwrite = questionary.confirm(
          "Directory '{}' is not empty. Continue?".format(
              os.path.abspath(path)
          )
      ).ask()
      if not overwrite:
          print_cancel()
  
file_path: rasa/rasa/cli/scaffold.py
imports: import argparse
  import os
  import sys
  from typing import List, Text
  from rasa import telemetry
  from rasa.cli import SubParsersAction
  from rasa.cli.shell import shell
  from rasa.shared.utils.cli import print_success, print_error_and_exit
  from rasa.shared.constants import DOCS_BASE_URL, DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_DATA_PATH, DEFAULT_MODELS_PATH
label_desc: Use image node_id 9 for calling a global function with example usage: _ask_overwrite(path) without return types