public static boolean isSupported(@NotNull Project project, @NotNull VirtualFile file) {
    return isHandledByVcs(project, file) || findProviderFor(project, file) != null;
  }
public static boolean isSupported(@NotNull Project project, @NotNull VirtualFile file)