class_docstr: A class for wälder, that are phylogenetic forests, elements of the Wald Space.
  
  Parameters
  ----------
  topology : Topology
      The structure of the forest.
  weights : array-like
      The edge weights, array of floats between 0 and 1, with m entries, where m is
      the total number of splits/edges in the structure ``top``.
class_docstr_tok: ["A","class","for","w\u00e4lder",",","that","are","phylogenetic","forests",",","elements","of","the","Wald","Space",".","Parameters","--","--","--","--","--","topology",":","Topology","The","structure","of","the","forest",".","weights",":","array-like","The","edge","weights",",","array","of","floats","between","0","and","1",",","with","m","entries",",","where","m","is","the","total","number","of","splits\/edges","in","the","structure","``","top","``","."]
docstr: Check for each pair of labels if exists split that separates them.
  
  Parameters
  ----------
  labels : list[int]
      A list of integers, the set of labels that we generate splits for.
  splits : list[Split]
      A list of splits of the set of labels.
  
  Returns
  -------
  are_separated : bool
      True if the labels are pair-wise separated by a split else False.
code: def _check_if_separated(labels, splits):
      """Check for each pair of labels if exists split that separates them.
  
      Parameters
      ----------
      labels : list[int]
          A list of integers, the set of labels that we generate splits for.
      splits : list[Split]
          A list of splits of the set of labels.
  
      Returns
      -------
      are_separated : bool
          True if the labels are pair-wise separated by a split else False.
      """
      return gs.all(
          [
              gs.any([sp.separates(u, v) for sp in splits])
              for u, v in itertools.combinations(labels, 2)
          ]
      )
  
imports: import functools
  import itertools
  import geomstats.backend
  import geomstats.geometry.spd_matrices
  from geomstats.geometry.stratified.point_set import Point, PointSet, _vectorize_point
label_desc: Use image node_id 8 for calling the Wald obj's underlying member method code with example usage: obj._check_if_separated(labels, splits) and returns: gs