code: def cache_segments(*caches):
      
      from ..segments import SegmentList
      out = SegmentList()
      for cache in caches:
          out.extend(file_segment(e) for e in cache)
      return out.coalesce()
docs: Returns the segments of data covered by entries in the cache(s).
  
      Parameters
      ----------
      *caches : `list`
          One or more lists of file paths
          (`str` or :class:`~lal.utils.CacheEntry`).
  
      Returns
      -------
      segments : `~gwpy.segments.SegmentList`
          A list of segments for when data should be available