on tuesday , when yvonne started to approach tammy in english class , he persuaded his friend anthony to belch the first few lines of hamlet 's famous act 3 soliloquy , which annoyed mrs. beckmeir but was guaranteed to keep her attention : `` to be or not to be , that is the question .