code: func (f *aclFilter) filterSessions(sessions *structs.Sessions) {
  	s := *sessions
  	for i := 0; i < len(s); i++ {
  		session := s[i]
  		if f.allowSession(session.Node) {
  			continue
  		}
  		f.logger.Printf("[DEBUG] consul: dropping session %q from result due to ACLs", session.ID)
  		s = append(s[:i], s[i+1:]...)
  		i--
  	}
  	*sessions = s
  }
docs: // filterSessions is used to filter a set of sessions based on ACLs.