As I write in title, I hope to determine a scene is rendering or not.
I run some kind of monitoring tool within maya,
during running that it has to avoid the situation like file io.
I can check the condition with MFile::isReadingFile and so on.
But, in case of rendering I can not find the solution.
Is there any way to see the scene is rendering regardless of renderer?