title: django - checking to see if filter returns anything in the queryset
body: <p>I'm a newb to Django.  I need to check to see if a queryset returns any values at all, and if not, to skip to the next item in the loop.  I tried try.. except ObjectDoesNotExist and that's not working.  If a filter doesn't find anything, what does it return?  How do I check for it?</p>
  <p>Here's the existing code:</p>
  <pre><code>def assign_family_riders(leg):
      remaining_leg_riders = list(leg.riders.all())
      for car in CarAssignment.objects.filter(leg=leg):
          driver_family = car.driver.family
          try:
              riders = leg.riders.all().filter(family=driver_family)
          except ObjectDoesNotExist:
              continue
          for rider in riders:
              car.riders.add(rider)
              remaining_leg_riders.remove(rider)
      return remaining_leg_riders
  </code></pre>