code: def _check_arguments(symbol):
      
      arg_set = set()
      arg_names = symbol.list_arguments()
      for name in arg_names:
          if name in arg_set:
              raise ValueError(('Find duplicated argument name \"%s\", ' +
                                'please make the weight name non-duplicated(using name arguments), ' +
                                'arguments are %s') % (name, str(arg_names)))
          arg_set.add(name)
  
      aux_set = set()
      aux_names = symbol.list_auxiliary_states()
      for name in aux_names:
          if name in aux_set:
              raise ValueError(
                  ('Find duplicated auxiliary param name \"%s\", ' +
                   'please make the weight name non-duplicated(using name arguments), ' +
                   'arguments are %s, auxiliary params are %s'
                  ) % (name, str(arg_names), str(aux_names)))
          aux_set.add(name)
docs: Check the argument names of symbol.
      This function checks the duplication of arguments in Symbol.
      The check is done for feedforward net for now.
  
      Parameters
      ----------
      symbol : Symbol
          The network configuration.