isOrderedList method

bool isOrderedList()

Implementation

bool isOrderedList() {
  return attributes.list == ListType.ordered;
}