def is_preformatted(str):
for chunk in str.split("<STR_LIT:\n>"):<EOL><INDENT>if  not chunk.startswith("<STR_LIT:U+0020>"):<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Determines if an item in a paragraph is preformatted.

    If all of the lines in the markup start with a " "
    this indicates preformatted text.
    Preformatted is usually used for programming code.