#NEWLINE# def is_string_sequence( seq ) : #NEWLINE# #INDENT# result = True #NEWLINE# i = None #NEWLINE# for ( i , s ) in enumerate ( seq ) : #NEWLINE# #INDENT# if ( not isinstance ( s , string_types ) ) : #NEWLINE# #INDENT# result = False #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# assert ( i is not None ) #NEWLINE# return result