def is_probably_part_of_multiline(line):
 return ((u'"""' in line) or (u"'''" in line) or line.rstrip().endswith(u'\\'))

def is_probably_part_of_multiline ( line ) : return ( ( u'"""' in line ) or ( u"'''" in line ) or line . rstrip ( ) . endswith ( u'\\' ) )
return true if line is likely part of a multiline string .