Makes the newImage check more semantic.