@Override
  public boolean isValid() {
    PsiElement navElement = getNavigationElement();
    if (navElement != this) {
      return navElement.isValid();
    }

    return true;
  }
@Override
  public boolean isValid()