code: def get_segment_definer_comments(xml_file, include_version=True):
      
  
      from glue.ligolw.ligolw import LIGOLWContentHandler as h
      lsctables.use_in(h)
  
      # read segment definer table
      xmldoc, _ = ligolw_utils.load_fileobj(xml_file,
                                          gz=xml_file.name.endswith(".gz"),
                                          contenthandler=h)
      seg_def_table = table.get_table(xmldoc,
                                      lsctables.SegmentDefTable.tableName)
  
      # put comment column into a dict
      comment_dict = {}
      for seg_def in seg_def_table:
          if include_version:
              full_channel_name = ':'.join([str(seg_def.ifos),
                                            str(seg_def.name),
                                            str(seg_def.version)])
          else:
              full_channel_name = ':'.join([str(seg_def.ifos),
                                            str(seg_def.name)])
  
          comment_dict[full_channel_name] = seg_def.comment
  
      return comment_dict
docs: Returns a dict with the comment column as the value for each segment