<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_guest_access(self, room_id, guest_access):
 """Set the guest access policy of the room. Args: room_id(str):
 The room to set the rules for. guest_access(str):
 Wether guests can join. One of: ["can_join", "forbidden"] """

        content = {
            "guest_access": guest_access
        }
        return self.send_state_event(room_id, "m.room.guest_access", content)