def IsNoClobberServerException(e):
  return ((isinstance(e, PreconditionException)) or
          (isinstance(e, ResumableUploadException) and '412' in e.message))
Checks to see if the server attempted to clobber a file.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/copy_helper.py/IsNoClobberServerException