function deep_read_state(value) {
	if (typeof value !== 'object' || !value || value instanceof EventTarget) {
		return;
	}

	if (STATE_SYMBOL in value) {
		deep_read(value);
	} else if (!Array.isArray(value)) {
		for (let key in value) {
			const prop = value[key];
			if (typeof prop === 'object' && prop && STATE_SYMBOL in prop) {
				deep_read(prop);
			}
		}
	}
}
Possibly traverse an object and read all its properties so that they're all reactive in case this is `$state`.
Does only check first level of an object for performance reasons (heuristic should be good for 99% of all cases).
@param {any} value
@returns {void}