Adding state docstring to the state_doc function.

Adding state docstring to the state_doc function.