When it dies, immediately check for spark at the plug, try to drain the fuel bowl. If liquid comes out, catch it in a clear glass jar.
If nothing comes out, find out why. If liquid comes out, see if water separates out at the bottom of the jar. If no spark, you seem competent to finish this...