<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_message(self, msg):
 """ Send a message to the client. This should not be used in remote debugging mode. """

        if not self.handlers:
            return  #: Client not connected
        for h in self.handlers:
            h.write_message(msg)