The evaluation of lazy parameter should always be treated as which it might have some side-effects. (If not, it is just a compiler bug.)
So, this `static if` is not necessary IMO.