def METHOD_NAME(self, dump_file_path):
    target_dir = get_tmp_extract_dir(dump_file_path)
    if not os.path.exists(target_dir):
        with zipfile.ZipFile(dump_file_path, 'r') as archive:
            archive.extractall(target_dir)
    elif not self.use_extracted:
        raise CommandError(
            "Extracted dump already exists at {}. Delete it or use --use-extracted".format(target_dir))
    return target_dir