Solved #156, iris.on and iris.off check if the param is a function