python check if int is in list