private boolean hasStage (InputProcessor processor) {
		if (!(processor instanceof InputMultiplexer)) {
			return processor == stage;
		}
		InputMultiplexer im = (InputMultiplexer)processor;
		SnapshotArray<InputProcessor> ips = im.getProcessors();
		for (InputProcessor ip : ips) {
			if (hasStage(ip)) {
				return true;
			}
		}
		return false;
	}
private boolean hasStage ( InputProcessor processor ) { if ( ! ( processor instanceof InputMultiplexer ) ) { return processor == stage ; } InputMultiplexer im = ( InputMultiplexer ) processor ; SnapshotArray < InputProcessor > ips = im . getProcessors ( ) ; for ( InputProcessor ip : ips ) { if ( hasStage ( ip ) ) { return true ; } } return false ; }
Compares the given processor to the console's stage. If given a multiplexer, it is iterated through recursively to check all
of the multiplexer's processors for comparison.

@param processor
@return processor == this.stage