code: public boolean isInState(JComponent c) {
          while (c != null && !(c instanceof JScrollBar)) {
              c = (JComponent) c.getParent();
          }
  
          if (c != null) {
              Object clientProperty = c.getClientProperty("SeaGlass.Override.ScrollBarButtonsTogether");
  
              if (clientProperty != null && clientProperty instanceof Boolean) {
                  return (Boolean) clientProperty;
              }
          }
  
          return UIManager.getBoolean("SeaGlass.ScrollBarButtonsTogether");
      }
docs: {@inheritDoc}