def iterate_json_keys_for_value(jsonObj, key, value):
    """Return True if *jsonObj* contains a toplevel *key* set to *value*."""
    for i in jsonObj:
        if i[key] == value:
            return True
    return False