Consume return value with an if