<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(self, msg):
 """Send a message to Elk panel."""

        if self._conn:
            self._conn.write_data(msg.message, msg.response_command)