code: def filter(self, table, security_groups, filter_string):
          
          query = filter_string.lower()
          return [security_group for security_group in security_groups
                  if query in security_group.name.lower()]
docs: Naive case-insensitive search.