Adding state docstring to the state_doc function output.
Merge pull request #13679 from garethgreenaway/sysmod_work

Adding state docstring to the state_doc function output.