code: def filter(self, table, flavors, filter_string):
          
          q = filter_string.lower()
  
          def comp(flavor):
              return q in flavor.name.lower()
  
          return filter(comp, flavors)
docs: Really naive case-insensitive search.