<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dispatch(self, pid, method, *args):
 """Call a method on another process by its pid. The method on the other process does not need to be installed with ``Process.install``. The call is serialized with all other calls on the context's event loop. The pid must be bound to this context. This function returns immediately. :param pid: The pid of the process to be called. :type pid: :class:`PID` :param method: The name of the method to be called. :type method: ``str`` :return: Nothing """

    self._assert_started()
    self._assert_local_pid(pid)
    function = self._get_dispatch_method(pid, method)
    self.__loop.add_callback(function, *args)