Maybe I'd choose a different name for this function. Although it's not a global function, Kernel::IsDesktop sounds very confusing. What about `TextModeDesktop`, `TextModeDesktopSelected`, `GraphicalDesktopSelected`, ... something in that way?