python check if value in list is unique