check if element is not in dictionary pythonの検索結果