def _ShouldTreatDstUrlAsBucketSubDir(have_multiple_srcs, dst_url,
                                     have_existing_dest_subdir,
                                     src_url_names_container,
                                     recursion_requested):
  if have_existing_dest_subdir:
    return True
  if dst_url.IsCloudUrl():
    return (have_multiple_srcs or
            (src_url_names_container and recursion_requested))
Checks for equality with the sequence's equality operator.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/copy_helper.py/_ShouldTreatDstUrlAsBucketSubDir--crossover with--dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.__eq__