Implement ScriptEngine::Object::isFunction