Yes, and you signed a consent form explaining it if you were granted probation. Confirm with your probation officer.