'Check whether the request GET vars match the GET vars in
the URL of this tab
@param r: the S3Request'

def vars_match(self, r):

    get_vars = r.get_vars
    if (self.vars is None):
        return True
    for (k, v) in self.vars.iteritems():
        if (v is None):
            continue
        if ((k not in get_vars) or ((k in get_vars) and (get_vars[k] != v))):
            return False
    return True
