Added checkWrapped method