def __unicode__(self): command = EvaluateCommand(self._id, "unicode") response = command.push(self._proxy) return str(response.interpret(self._proxy))
def __str__(self): command = EvaluateCommand(self._id, "string") response = command.push(self._proxy) return str(response.interpret(self._proxy))
def __int__(self): command = EvaluateCommand(self._id, "integer") response = command.push(self._proxy) return int(response.interpret(self._proxy))
def __bool__(self): command = EvaluateCommand(self._id, "boolean") response = command.push(self._proxy) return bool(response.interpret(self._proxy))
def __iter__(self): command = EvaluateCommand(self._id, 'list') response = command.push(self._proxy) return iter(response.interpret(self._proxy))