code: def check_machine_error(self, machine):
          
          if not isinstance(machine, IMachine):
              raise TypeError("machine can only be an instance of type IMachine")
          self._call("checkMachineError",
                       in_p=[machine])
docs: Perform error checking before using an :py:class:`IMachine`  object.
          Generally useful before starting a VM and all other uses. If anything
          is not as it should be then this method will return an appropriate
          error.
  
          in machine of type :class:`IMachine`
              The machine object to check.