where is the function "check()" called?

In the file pro-sites.php there is a function called check()

I can't seem to see where it is being used (even though I know it is being called, any ideas where it might referenced?

Thanks!