Say I load a gif image to play only once. At any given time is it possible to detect if the gif has stopped playing?