pub unsafe fn enif_is_fun(env: *mut ErlNifEnv, term: ERL_NIF_TERM) -> c_int