def verify_object_exists(obj: dict, obj_path: list):
    """Verifies that a given object has a given sub-object defined by obj_path"""
    if not obj_path:
        return True
    if obj_path[0] in obj:
        return verify_object_exists(obj[obj_path[0]], obj_path[1:])
    else:
        return False