def has_raster(self):
        """True if any of the assets  is type 'raster'."""
        return any(asset.get('type') == RASTER_TYPE for asset in self.assets.values())
True if any of the assets  is type 'raster'.