<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def output(self, chunk):
 """ Dispatch the given Chunk onto all the registered output queues. If the chunk is None, it is silently ignored. """

        if chunk is not None:
            for queue in self.output_queues:
                queue.put(chunk)