Use a boolean to indicate evaluation in a cycle, instead of a separate method.