State query method modified.