def _determine_file_prompt_mode(self) -> FilePromptMode:
    '\n        Determine the device file prompt mode\n\n        Args:\n            N/A\n\n        Returns:\n            FilePromptMode: enum representing file prompt mode\n\n        Raises:\n            FailedToDetermineDeviceState: if unable to fetch file prompt mode\n\n        '
    file_prompt_mode_result = self.conn.send_command(command='show run | i file prompt')
    if file_prompt_mode_result.failed:
        raise FailedToDetermineDeviceState('failed to determine file prompt mode')
    return self._post_determine_file_prompt_mode(output=file_prompt_mode_result.result)
Determine the device file prompt mode

Args:
    N/A

Returns:
    FilePromptMode: enum representing file prompt mode

Raises:
    FailedToDetermineDeviceState: if unable to fetch file prompt mode
def _determine_file_prompt_mode(self) -> FilePromptMode:
    '\n        Determine the device file prompt mode\n\n        Args:\n            N/A\n\n        Returns:\n            FilePromptMode: enum representing file prompt mode\n\n        Raises:\n            FailedToDetermineDeviceState: if unable to fetch file prompt mode\n\n        '
    file_prompt_mode_result = self.conn.send_command(command='show run | i file prompt')
    if file_prompt_mode_result.failed:
        raise FailedToDetermineDeviceState('failed to determine file prompt mode')
    return self._post_determine_file_prompt_mode(output=file_prompt_mode_result.result)