code: def _write_to_zip_recursively(zipfile_to_save, system_path, zip_path):
      if not file_utils.isdir(system_path):
          zipfile_to_save.write(system_path, zip_path)
      else:
          for file_name in file_utils.listdir(system_path):
              system_file_path = file_utils.join(
                  system_path, file_name
              ).replace("\\", "/")
              zip_file_path = file_utils.join(
                  zip_path, file_name
              ).replace("\\", "/")
              _write_to_zip_recursively(
                  zipfile_to_save, system_file_path, zip_file_path
              )
  
imports: import datetime
  import io
  import json
  import tempfile
  import warnings
  import zipfile
  import numpy
  from keras.backend.common import global_state
  from keras.layers.layer import Layer
  from keras.losses.loss import Loss
  from keras.metrics.metric import Metric
  from keras.optimizers.optimizer import Optimizer
  from keras.saving.serialization_lib import ObjectSharingScope
  from keras.saving.serialization_lib import deserialize_keras_object
  from keras.saving.serialization_lib import serialize_keras_object
  from keras.trainers.compile_utils import CompileMetrics
  from keras.utils import file_utils
  from keras.utils import naming
  from keras.version import __version__
label_desc: Use image node_id 6 for calling a global function with example usage: _write_to_zip_recursively(zipfile_to_save, system_path, zip_path) without return types