Small optimization. Since readpipes is called on every input we can
short circuit the check almost all the time.