the conversion to set is not necessary and is extra work. Converting a tuple to a set is O(n), so you may as well just do `if x not in (...)`.