isFunction test