validate_state_serialisation# validate_state_serialisation(state)[source]# Check that we can write the state to the disk, Unlike json.dump() gives user friendly error messages. Raises: BadStateData – In the case we have sneaked something into the state that does not belong there. Parameters: state (State) –