code: def filter_top_level(stmts_in, **kwargs):
      
      logger.info('Filtering %d statements for top-level...' % len(stmts_in))
      stmts_out = [st for st in stmts_in if not st.supports]
      logger.info('%d statements after filter...' % len(stmts_out))
      dump_pkl = kwargs.get('save')
      if dump_pkl:
          dump_statements(stmts_out, dump_pkl)
      return stmts_out
docs: Filter to statements that are at the top-level of the hierarchy.
  
      Here top-level statements correspond to most specific ones.
  
      Parameters
      ----------
      stmts_in : list[indra.statements.Statement]
          A list of statements to filter.
      save : Optional[str]
          The name of a pickle file to save the results (stmts_out) into.
  
      Returns
      -------
      stmts_out : list[indra.statements.Statement]
          A list of filtered statements.