code: def check_call(self, cmd):
          
          ret, _ = self._call(cmd, False)
          if ret != 0:  # pragma: no cover
              raise RemoteCommandFailure(command=cmd, ret=ret)
docs: Calls a command through SSH.