Who is Participating?

This is just to raise your custom error. You can leave without it as well. You will get a system defined error. But this check will help you if you are doing link server (remote server) call. In that case, even if the procedure fails, the execution of the query mayn't be stopped which will hurt the consistency of the data.