girs.rast.raster.Raster.is_compressed

Raster.is_compressed()

Return True is the file is compressed

Valid compressions are gzip (.gz) and zip (.zip)

Returns:True is the file is compressed