def is_being_cached(self, image_id):
        path = self.get_image_filepath(image_id, 'incomplete')
        return os.path.exists(path)
Returns True if the image with supplied id is currently
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/image_cache/drivers/xattr.py/Driver.is_being_cached