I'd like to provide more information on my question.
I'm trying to bypass the trigger by checking if a temp table is created( or could be any other way, but the idea is if something is true, the trigger is bypassed), if so, then stop the trigger from firing, and at the same time delete the temp table since it is created only for this purpose.