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