The court, or judge thereof, in granting probation to a defendant convicted of any of the offenses enumerated in Section 290 of this code shall inquire into the question whether the defendant at the time the offense was committed was intoxicated or addicted to the excessive use of alcoholic liquor or beverages at that time or immediately prior thereto, and if the court, or judge thereof, believes that the defendant was so intoxicated, or so addicted, such court, or judge thereof, shall require as a condition of such probation that the defendant totally abstain from the use of alcoholic liquor or beverages.
(Amended by Stats. 1951, Ch. 1608.)