Get a state value
This is a method of the Agents class in the agents module.
def get_state(key: str, default: Any) -> Any