private static boolean isValid(@NotNull UsageInfo2UsageAdapter info) {
    final PsiElement element = info.getUsageInfo().getElement();
    return element != null && element.isValid();
  }
private static boolean isValid(@NotNull UsageInfo2UsageAdapter info)