Use ::dlf_isinitialized instead of our own version so that it works also when DLF is initialized from C