removed isCompressed method