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