boolean (RemoteServer<?> server) { String toolWindowId = server.getConfiguration().getCustomToolWindowId(); if (toolWindowId == null) { toolWindowId = server.getType().getCustomToolWindowId(); } return toolWindowId == null; }