python check if object is not in listの検索結果