def METHOD_NAME():
    dkeys = get_driver_keys()
    if dkeys:
        curval = query_filename_prompt_state(dkeys)
        if curval:
            logger.debug('Prompt For FileName is Enabled. Disabling...')
            set_filename_prompt_state(dkeys, False)
        else:
            logger.debug('Prompt For FileName is Disabled. Enabling...')
            set_filename_prompt_state(dkeys, True)
        script.toggle_icon(not curval)
        close_keys(dkeys)