docs: public boolean updateAttributes(Collection<Attribute> attributes)
        throws IllegalStateException {
      if (this.terminated) {
        throw new IllegalStateException(
            "Cannot send solutions to the World Model once the connection has been destroyed.");
      }
  
      if (this.canSend) {
        return this.wmi.updateAttributes(attributes);
      }
      for (Attribute a : attributes) {
        if (!this.attributeBuffer.offer(a)) {
          return false;
        }
      }
  
      return true;
    }