結果 : check if object in set python