From the NannyMUD documentation
2008-07-03
NAME
function_exists - Does the object have the function?SYNTAX
string function_exists(string func, object ob)DESCRIPTION
This function searches for a named function `func' in the specified object `ob'. If it is found, the filename of that object is returned. The filename returned is not the same as the string returned by the function `file_name()', it does not have the instance number of the found object suffixed to it. If no argument `ob' is given, `this_object()' is used by default.NOTE
It is the filename of the object that contains the function that is returned, not the composite object that might inherit the file that contains the function. E.g: Object A contains the function F. Object B inherits object A. function_exists("F", B) will return the filename of object A.SEE ALSO
inherit_list in efun/object_related/inherit_list