<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_notify_dispatch_request(self, notify_dispatch_request, *args):
 """Set function to call just before requests are dispatched Args: notify_dispatch_request (callable):
 function will be called with request as single arg just before request is dispatched """

        self._notify_dispatch_request = notify_dispatch_request
        self._notify_args = args