#NEWLINE# def relMatches( rel_attr , target_rel ) : #NEWLINE# #INDENT# 'Does this target_rel appear in the rel_str?' #NEWLINE# rels = rel_attr . strip ( ) . split ( ) #NEWLINE# for rel in rels : #NEWLINE# #INDENT# rel = rel . lower ( ) #NEWLINE# if ( rel == rel ) : #NEWLINE# #INDENT# return 1 #NEWLINE# #UNINDENT# #UNINDENT# return 0