def check_version():
    ver = rsync_version()[15:20]
    for vs in TESTED_VERSIONS:
        if ver == vs[15:20]:
            return 1
    return 0
Checks that the installed rsync program is the same one that this module was
dataset/ETHPy150Open kdart/pycopia/process/pycopia/rsynclib.py/check_version