Add isFunction.