code: func (s *State) Empty() bool {
  	if s == nil {
  		return true
  	}
  	for _, ms := range s.Modules {
  		if len(ms.Resources) != 0 {
  			return false
  		}
  		if len(ms.OutputValues) != 0 {
  			return false
  		}
  	}
  	return true
  }
docs: // Empty returns true if there are no resources or populated output values
  // in the receiver. In other words, if this state could be safely replaced
  // with the return value of NewState and be functionally equivalent.