public synchronized boolean hasToolWindowCapability(@NotNull String groupId) {
    return getToolWindowId(groupId) != null || myToolWindowCapable.containsKey(groupId);
  }
public synchronized boolean hasToolWindowCapability(@NotNull String groupId)