@Override
  public boolean hasSelection() {
    ApplicationManager.getApplication().assertReadAccessAllowed();
    SelectionMarker marker = mySelectionMarker;
    return hasSelection(marker);
  }
@Override
  public boolean hasSelection()