def version_uptodate(base_dir, recipe):
    versions = _get_versions(base_dir)
    return (recipe["attributes"]["name"] in versions and
            LooseVersion(versions[recipe["attributes"]["name"]]) >=
            LooseVersion(str(recipe["attributes"]["version"])))
The returned L{monkey.MonkeyPatcher} object can re-apply the patch
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/biodata/ggd.py/version_uptodate--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_tests.py/TestMonkeyPatchSupport.test_revertAndRepatch