match x: case {"foo": 1, **_}: pass