Refining isNativeFunction