def opt_in
import bolt@1.26.0.0/src/config.bend as Configimport Base
284# a rule only its own setting turns on: a group setting, or the group's
285# default, would put new findings on projects that never asked for it
286# (`thunk`, `transcong`, and the laws' `coverage` and `closed`, which are a
287# project's policy rather than defects)
288def opt_in(+rule: String) -> Bool:
289 List.contains(~String, ~String.eq, ["thunk", "transcong", "coverage", "closed"], rule)