def __eq__(self, other):
        if hasattr(other, "value"):
            return self.value == other.value
        return self.value == other
Equality comparison for cookies. Compares to other cookies
dataset/ETHPy150Open w3c/wptserve/wptserve/request.py/CookieValue.__eq__