code: def _DuplicateChecker(js):
      result = {}
      for name, value in js:
          if name in result:
              raise ParseError(
                  "Failed to load JSON: duplicate key {0}.".format(name)
              )
          result[name] = value
      return result
  
imports: import base64
  from collections import OrderedDict
  import json
  import math
  from operator import methodcaller
  import re
  import sys
  from google.protobuf.internal import type_checkers
  from google.protobuf import descriptor
  from google.protobuf import symbol_database
label_desc: Use image node_id 5 for calling a global function with example usage: _DuplicateChecker(js) and returns: result