public bool CanShowPeekModule(ModuleType moduleType) { var peekModuleType = GetPeekModuleType(moduleType); return !GetService<IPeekModulesHostingService>().IsDocked(peekModuleType); } [Command]