python check if item in list and get indexの検索結果