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