def suspended?
      running_response = running?
      return running_response unless running_response.successful?

      response = Response.new :code => 0, :data => false
      response.data = suspend_file_exists? unless running_response.data

      response
    end
def suspended?
      running_response = running?
      return running_response unless running_response.successful?

      response = Response.new :code => 0, :data => false
      response.data = suspend_file_exists? unless running_response.data

      response
    end
Public: Determines if a VM is suspended.

 Examples

   @vm.suspended?.data
   # => true

 Returns a Response with the result.
 If successful, the Response's data attribute will be a Boolean.  If the VM
 is not running, then this method will look for a '.vmem' file in the VM's
 directory.  If a '.vmem' file exists and it matches the name of the VM,
 then the VM is considered to be suspended.  If the VM is running or if a
 matching '.vmem' file is not found, then the VM is not considered to be
 suspended.
 If there is an error, an unsuccessful Response will be returned.