public static boolean isToolbarVisible(@NotNull ToolWindow toolWindow) {
    return isToolbarVisible(toolWindow, PropertiesComponent.getInstance());
  }
public static boolean isToolbarVisible(@NotNull ToolWindow toolWindow)