結果 : check if object is in set python