How to check if VideoTexture's ImageFFmpeg is being updated?

Is there a way to check if VideoTexture’s ImageFFmpeg is being updated in Python?

Because, I want to make it so:

  1. The script checks if the image is loaded into the texture. If the image is loaded into the object variable and is found, it stops refreshing the texture, unless the property pointing to the image changes. This avoids killing performance, which I have noticed when you leave the refresh module at true.

  2. Once the texture is unloaded or if the texture cannot be found, refreshing stops.

  3. The image should only ever refresh when the property for the directory has changed. This keeps performance from dropping due to constantly updating the texture.

Is it also possible to do this for VideoTexture as well?