There's a `exists' function in Remote.Obj that is unaccessible without a minor patch.
Index: lib/modules/Remote.pmod/module.pmod =================================================================== RCS file: /cvs/Pike/7.6/lib/modules/Remote.pmod/module.pmod,v retrieving revision 1.5 diff -r1.5 module.pmod 973c973 < return get_function(f); ---
return ::`[](f) || get_function(f);
979c979 < return get_function(f); ---
return ::`->(f) || get_function(f);
//K