'If you override .return_ok(), be sure to call this method.  If it
returns false, so should your subclass (assuming your subclass wants to
be more strict about which cookies to return).'

def return_ok(self, cookie, request):

    _debug('    -    checking    cookie    %s=%s', cookie.name, cookie.value)
    for n in ('version', 'verifiability', 'secure', 'expires', 'port', 'domain'):
        fn_name = ('return_ok_' + n)
        fn = getattr(self, fn_name)
        if (not fn(cookie, request)):
            return False
    return True
