code: def _validate_field(param, fields):
      
  
      if '/' not in param.field and param.field not in fields:
          raise InvalidQueryParams(**{
              'detail': 'The filter query param of "%s" is not possible. The '
                        'resource requested does not have a "%s" field. Please '
                        'modify your request & retry.' % (param, param.field),
              'links': LINK,
              'parameter': PARAM,
          })
docs: Ensure the field exists on the model