Pull out an isFunction thing