Given a dispatch name and a function, return a function which can be used as a method and which, when called, will call another method defined on the instance and return the result.  The other method which is called is determined by the value of the _state attribute of the instance.
| Parameters | name | A string which is used to construct the name of the subsidiary method to invoke.  The subsidiary method is named like '_%s_%s' % (name, _state). | 
 | template | A function object which is used to give the returned function a docstring. | 
| Returns | The dispatcher function. |