Assert function as described by the ninja master.