code: def detach_all_usb_devices(self, done):
          
          if not isinstance(done, bool):
              raise TypeError("done can only be an instance of type bool")
          self._call("detachAllUSBDevices",
                       in_p=[done])
docs: Notification that a VM that is being powered down. The done
          parameter indicates whether which stage of the power down
          we're at. When @a done = @c false the VM is announcing its
          intentions, while when @a done = @c true the VM is reporting
          what it has done.
          
          In the @a done = @c true case, the server must run its own filters
          and filters of all VMs but this one on all detach devices as
          if they were just attached to the host computer.
  
          in done of type bool