結果 : python check if in set time complexity