code: def discard_saved_state(self, f_remove_file):
          
          if not isinstance(f_remove_file, bool):
              raise TypeError("f_remove_file can only be an instance of type bool")
          self._call("discardSavedState",
                       in_p=[f_remove_file])
docs: Forcibly resets the machine to "Powered Off" state if it is
          currently in the "Saved" state (previously created by :py:func:`save_state` ).
          Next time the machine is powered up, a clean boot will occur.
          
          This operation is equivalent to resetting or powering off
          the machine without doing a proper shutdown of the guest
          operating system; as with resetting a running phyiscal
          computer, it can can lead to data loss.
          
          If @a fRemoveFile is @c true, the file in the machine directory
          into which the machine state was saved is also deleted. If
          this is @c false, then the state can be recovered and later
          re-inserted into a machine using :py:func:`adopt_saved_state` .
          The location of the file can be found in the
          :py:func:`state_file_path`  attribute.
  
          in f_remove_file of type bool
              Whether to also remove the saved state file.
  
          raises :class:`VBoxErrorInvalidVmState`
              Virtual machine not in state Saved.