python check if integer is in list