1 2 3
function _is_native_function(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }