def METHOD_NAME(image, save_path, overwrite):
    if overwrite:
        # Save path is original path if overwrite is True
        dataset = gdal.Open(save_path, gdal.GA_Update)
        for b in range(8):
            dataset.GetRasterBand(b+1).WriteArray(image[:, :, b])
        dataset = None
    else:
        driver = gdal.GetDriverByName('GTiff')
        dst = driver.Create(save_path,
                            image.shape[1],
                            image.shape[0],
                            8,
                            gdal.GDT_Float32)
        for b in range(8):
            dst.GetRasterBand(b+1).WriteArray(image[:, :, b])
        dst = None