This chapter shall apply whenever a case is before any court upon an accusatory pleading alleging a parent or legal guardian to have violated Section 272 with respect to his or her minor child, and all of the following apply to the defendant:
(a) The defendant’s record does not indicate that probation or parole has ever been revoked without thereafter being completed.
(b) The defendant’s record does not indicate that he or she has previously been diverted pursuant to this chapter.
(Amended by Stats. 1989, Ch. 144, Sec. 2.)