How to check if the current render operation is a still or an animation from the render_init handler?

how to check if the current render operation is a still image or an animation from the render_init handler?