has_segment_tables

igwn_ligolw.utils.segments.has_segment_tables(xmldoc, name=None)

Return True if the document contains a complete set of segment tables. Returns False otherwise. If name is given and not None then the return value is True only if the document’s segment tables, if present, contain a segment list by that name.