Eliminate the checkit() procedure.

We can use the checkit() function in triggers by assigning its return value to
a dummy variable.