So: like this?
```ruby
DEFAULT_FILTER_BOX = 'path'
def filter_box_selected?(query_parameter, field_name)
  if query_parameter.blank?
    field_name == DEFAULT_FILTER_BOX
  else
    query_parameter == field_name
  end
end
```