How to know when baking is complete

Is there anyway to know when a texture bake is complete using Python?