python check if int not in list