A context manager that sets the state of the backends to one returned by get_state.
get_state
See also
Gets a state to be set by this context manager.