python check if user input is in listの検索結果