code: def _validate_claim_values(name, value, ignore_errors):
      
      results = {'essential': False}
      for key, value in value.iteritems():
          if key in CLAIM_REQUEST_FIELDS:
              results[key] = value
          else:
              if not ignore_errors:
                  msg = 'Unknown attribute {} in claim value {}.'.format(key, name)
                  raise ValueError(msg)
      return results
docs: Helper for `validate_claim_request`