public static boolean isUnder(@NotNull Change change, @NotNull VcsDirtyScope scope) {
    final ContentRevision before = change.getBeforeRevision();
    final ContentRevision after = change.getAfterRevision();
    return before != null && scope.belongsTo(before.getFile()) || after != null && scope.belongsTo(after.getFile());
  }
public static boolean isUnder(@NotNull Change change, @NotNull VcsDirtyScope scope)