dynamic call of function when inst == NULL, it's global function call, otherwise it's method of class returns true, when success The call creates new thread, so it's legal to use sleep/wait
Используется в UIScriptedMenu::Init() и EnProfilerTests::TestFuncCountData().