Something similar was discussed for disabling assertations, and I think the solution here might be able to be adapted to your case: @assert alternatives? - #14 by WschW
Something similar was discussed for disabling assertations, and I think the solution here might be able to be adapted to your case: @assert alternatives? - #14 by WschW