public boolean hasChanges(VirtualFile @NotNull [] files, @NotNull Project project) {
    for (VirtualFile file : files) {
      if (hasChanges(file, project)) {
        return true;
      }
    }
    return false;
  }
public boolean hasChanges(VirtualFile @NotNull [] files, @NotNull Project project)