Applicability of the isotropic vorticity theory to an adverse pressure gradient flow