check if value not in set python