<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_to_room(self, message, room_name):

 """ Sends a given message to a given room """

        room = self.get_room(room_name)

        if room is not None:
            room.send_message(message)