'Check if rsync is available on the remote host.'

def _check_rsync(self):

    try:
        self.run('rsync    --version', stdout_tee=None, stderr_tee=None)
    except error.AutoservRunError:
        return False
    return True
