def METHOD_NAME(
    cmd, yes, message="Are you sure you want to perform this operation?"
):
    if cmd.cli_ctx.config.getboolean("core", "disable_confirm_prompt", fallback=False):
        return
    user_confirmation(message, yes=yes)