def METHOD_NAME(self):
    """Turn cookiejar into a dict."""
    cookie_dict = {}
    for _, a in list(self.cookiejar.METHOD_NAME.items()):  # type: ignore
        for _, b in list(a.items()):
            for cookie in list(b.values()):
                cookie_dict[cookie.name] = cookie.value
    return cookie_dict