code: def dumps(ms, single=False, pretty_print=False, **kwargs):
      
      if single:
          ms = [ms]
      return serialize(ms, pretty_print=pretty_print, **kwargs)
docs: Serialize an Xmrs object to the Prolog representation
  
      Args:
          ms: an iterator of Xmrs objects to serialize (unless the
              *single* option is `True`)
          single: if `True`, treat *ms* as a single Xmrs object instead
              of as an iterator
          pretty_print: if `True`, add newlines and indentation
      Returns:
          the Prolog string representation of a corpus of Xmrs