well yeah, that does make sense... but then again, why would I do magic in the middle of class? I was talking about like in the cafeteria and it looked like I was gambling regardless of the trick...
The same rule still applies, if you think something is gonna be taken away, don't take it out or better yet, don't take it to school.
And if they do take it away, don't complain or whine to them, that'll bring down your status as a magician and maybe even bring more suspicion to the deck. If I were in a predicament like that, I would just bring out another deck and get that taken away also just to bring a few laughs, but I make sure that something like that won't happen by only doing tricks at an appropiate time.