What does the function checkSlow do?

checkSlow is an assertion which prints callstack to log and console.