addIfTrue

Util to only apply a modifierOp if condition is true, in order to reduce lines and improve readability