def METHOD_NAME(target_found):
    global led_counter
    if target_found:
        led = led_success
        led_fail.off()
    else:
        led = led_fail
        led_success.off()
    if led_counter % 4 == 0:
        led.toggle()
    led_counter += 1