Empty anvil.tables.SearchIterator should be "False"

You can efficiently get the length of a search iterator with len():

if len(rows):
  # ... do something...