Fix shouldAssert function

this.currentAssertionLevel is always undefined because the currentAssertionLevel isn't exported.
I removed the this keyword because I didn't want to make the currentAssertionLevel public.