def set_ok(self, cookie, request):
        _debug(" - checking cookie %s=%s", cookie.name, cookie.value)

        assert cookie.name is not None

        for n in "version", "verifiability", "name", "path", "domain", "port":
            fn_name = "set_ok_"+n
            fn = getattr(self, fn_name)
            if not fn(cookie, request):
                return False

        return True
Test installing the given product key
dataset/ETHPy150Open babble/babble/include/jython/Lib/cookielib.py/DefaultCookiePolicy.set_ok--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/win_license_test.py/LicenseTestCase.test_install