Change IsDisplayed to WithState.

Remove print statement that was accidentally left in.