static boolean isDetectable(@NotNull VirtualFile file) {
    return !file.isDirectory()
           && file.isValid()
           && !file.is(VFileProperty.SPECIAL)
           && (file.getFileSystem() instanceof FileSystemInterface || file instanceof LightVirtualFile);
  }
static boolean isDetectable(@NotNull VirtualFile file)