def expensive
import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalkimport Base
416# a loop of this file, or a Base walk, and not this def itself
417def expensive(+tt: String, +self: String, +lp: List<&2, String>) -> Bool:
418 Bool.and(Bool.not(String.eq(tt, self)), Bool.or(heavy(tt), List.contains(~String, ~String.eq, lp, tt)))