I think this function name is ambiguous. It can easily be read to mean that this is a restricted scoreboard that only contains frozen data. However, it means that this is the full scoreboard that has restricted access.
I'd propose to rename it to something like hasRestrictedAccess.
I'd propose to rename it to something like
hasRestrictedAccess
._Originally posted by @eldering in https://github.com/DOMjudge/domjudge/pull/2497#discussion_r1578569139_