<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def handle_rfx(sender, message):
 """ Handles RF message events from the AlarmDecoder. """

    # Check for our target serial number and loop
    if message.serial_number == RF_DEVICE_SERIAL_NUMBER and message.loop[0] == True:
        print(message.serial_number, 'triggered loop #1')