The Application::isAdmin() function is no longer available in J4. it has been replaced by Application::isClient('administrator'). I have submitted PR https://github.com/Fabrik/fabrik/pull/2251 which replaces all occurrences of isAdmin with the new call.