The getFlux() check is unnecessary and inefficient, since the SBInterpolatedImage getFlux() function actually does a calculation to determine the current flux.  In fact, I should probably update it to save the flux once it is calculated, rather than recalculate it each time.