結果 : check if key exists in nested dictionary python