def is_list(str):
for chunk in str.split("<STR_LIT:\n>"):<EOL><INDENT>chunk = chunk.replace("<STR_LIT:\t>", "<STR_LIT>")<EOL>if  not chunk.lstrip().startswith("<STR_LIT:*>")and not re.search(r"<STR_LIT>", chunk.lstrip()):<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Determines if an item in a paragraph is a list.

    If all of the lines in the markup start with a "*" or "1." 
    this indicates a list as parsed by parse_paragraphs().
    It can be drawn with draw_list().