def nova_is_not(logical_line):
 split_line = logical_line.split()
 if ((len(split_line) == 5) and (split_line[0] == 'if') and (split_line[1] == 'not') and (split_line[3] == 'is')):
  (yield (logical_line.find('not'), "N901: Use the 'is not' operator for when testing for unequal identities"))

def nova_is_not ( logical_line ) : split_line = logical_line . split ( ) if ( ( len ( split_line ) == 5 ) and ( split_line [ 0 ] == 'if' ) and ( split_line [ 1 ] == 'not' ) and ( split_line [ 3 ] == 'is' ) ) : ( yield ( logical_line . find ( 'not' ) , "N901: Use the 'is not' operator for when testing for unequal identities" ) )
check localization in line .