private static boolean containsAtLeastOneFileToRearrange(VirtualFile @NotNull [] files) {
    for (VirtualFile file : files) {
      FileType fileType = file.getFileType();
      if (fileType instanceof LanguageFileType) {
        Language language = ((LanguageFileType)fileType).getLanguage();
        if (Rearranger.EXTENSION.forLanguage(language) != null) {
          return true;
        }
      }

    }
    return false;
  }
private static boolean containsAtLeastOneFileToRearrange(VirtualFile @NotNull [] files)