def METHOD_NAME(self, dataset):
    if self.volume_geometry.shape != dataset.geometry.shape:
        raise ValueError("Dataset not compatible with geometry used to create the projector")  
    return True