class Asciidoctor::ListItem

def compound?

Return true if the list item contains blocks other than a single outline list. Otherwise, return false.

Primarily relevant for outline lists.
Check whether this list item has compound content (nested blocks aside from a single outline list).
def compound?
  !simple?
end