Health and Safety Code § 51661
CHAPTER 4. Loan Insurance
The agency may provide for, and require attendance at, homeownership counseling and training courses as a condition to the insurance of loans for the purchase or refinancing of residential structures under this part.