Convert guard to assertion
Comment