checks to see if view has a reduce function