def ispartial(x):
try:<EOL><INDENT>if x[<NUM_LIT:0>] in spaces:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>except IndexError:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
If log line starts with a space it is recognized as a partial line
>>> ispartial('<time> <event> <some_log_line>')
False
>>> ispartial(' <space> <traceback:> <some_line>')
True
>>> ispartial('         <tab> <traceback:> <some_line>')
True
>>> ispartial('   <white_space> <traceback:> <some_line>')
True
>>> ispartial('')
False