The fan is probably ok. It's more likely that there is a leak somewhere in the cooling system so the cooling system is losing pressure and that caused the coolant to boil over at a lower temperature than it should. If there's a leak the coolant could boil over before the fan comes on. I'd dry the bike off, fill the cooling system back up and start it up and look for leaks. Look for any drips or wet areas. The o ring on thermostats can fail. Looking at the wiring diagram. You could test the fan by pushing a bit of wire into the green/black connection on the fan relay, then touch the other end of the wire to the negative of the battery or the frame of the bike, the fan should come on. That will test the fan fuse, relay and the fan