python if string not in list of strings