結果 : check if dictionary contains a key python