isOutdated(segments, variable) {
		for (const segment of segments) {
			const info = this.info.get(segment);

			if (info && info.outdatedReadVariables.has(variable)) {
				return true;
			}
		}
		return false;
	}
Check if a given variable is outdated on the current segments.
@param {PathSegment[]} segments The current segments.
@param {Variable} variable The variable to check.
@returns {boolean} `true` if the variable is outdated on the segments.