check if element not in set python