code: def filter(self, table, domains, filter_string):
          
          q = filter_string.lower()
  
          def comp(domain):
              if q in domain.name.lower():
                  return True
              return False
  
          return filter(comp, domains)
docs: Naive case-insensitive search.