Microwave dead after small fire

Hi ..Our Microwave -Whirlpool model YGH7145xFB1- had a small fire which I put out but now it is dead. Is there some sort of flame or smoke sensor that would shut it down like this? Thanks