public boolean setReadOnly(@NotNull String name, boolean value) {
    if (!assertChangeListsEnabled()) return false;

    ListData list = getDataByName(name);
    if (list == null) return false;

    list.isReadOnly = value;

    return true;
  }
public boolean setReadOnly(@NotNull String name, boolean value)