python compare two strings in if statement