According to msf unleashed the "check" function is only called when someone types "check" from msfconsole.