inspect the state of the container