python return none if key not in dictionaryの検索結果