public static boolean isSymLink(final @NotNull PsiFileSystemItem element) {
    final VirtualFile virtualFile = element.getVirtualFile();
    return virtualFile != null && virtualFile.is(VFileProperty.SYMLINK);
  }
public static boolean isSymLink(final @NotNull PsiFileSystemItem element)