結果 : python check if class object is in list