public final boolean isSelected() {
    Boolean isSelectedComponent = Toggleable.isSelected(this);
    if (isSelectedComponent != null) return isSelectedComponent;
    return Toggleable.isSelected(myPresentation);
  }
public final boolean isSelected()