'Returns True if there are multiple domains in the jar.
Returns False otherwise.'

def multiple_domains(self):

    domains = []
    for cookie in iter(self):
        if ((cookie.domain is not None) and (cookie.domain in domains)):
            return True
        domains.append(cookie.domain)
    return False
