def confirm_destructive_query(queries):
prompt_text = ("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>if is_destructive(queries) and sys.stdin.isatty():<EOL><INDENT>return prompt(prompt_text, type=bool)<EOL><DEDENT>
Check if the query is destructive and prompts the user to confirm.
    Returns:
    * None if the query is non-destructive or we can't prompt the user.
    * True if the query is destructive and the user wants to proceed.
    * False if the query is destructive and the user doesn't want to proceed.