static TripleBool mapMethodLike dm_getFlag(S flagName) { O mod = dm_current_generic(); O stem = dm_stem(mod); Int flagCode = cast getOpt(flagName, stem); ret flagCode == null ?: (Bool) call(stem, "hasFlag", flagCode); }