def version_ok(self, version):
        """Is 'version' sufficiently up-to-date?"""
        return (
            self.attribute is None
            or self.format is None
            or str(version) != "unknown"
            and self.format(version) >= self.requested_version
        )
Is 'version' sufficiently up-to-date?
product/gradle-plugin/src/main/python/setuptools/depends.py