(a) The undertaking prescribed in G.S. 1-111 is not necessary if an attorney practicing in the court where the action is pending certifies to the court in writing that he has examined the case of the defendant and is of the opinion that the plaintiff is not entitled to recover; and if the defendant also files an affidavit stating that he is unable to give and is not worth the amount of the undertaking in any property whatsoever.
(b) An undertaking shall not be required in any summary ejectment action brought pursuant to Articles 3 or 7 of Chapter 42 of the General Statutes. (1869-70, c. 193; Code, s. 237; Rev., s. 454; C.S., s. 496; 1997-473, s. 2.)