python if condition not in list