nw::has_effect_applied

bool nw::has_effect_applied(nw::ObjectBase *obj, nw::EffectType type, int subtype = -1)

Determines if an effect type is applied to an object.