as a 2-tuple; but raise KeyError if D is empty.
State.popitem()
dgs.utils.state.State.pop
dgs.utils.state.State.setdefault