Cal. Health & Safety Code § 1741
Any officer, employee, or agent of the state department may enter and inspect any building, premises, record or file of a licensee at any reasonable time to secure compliance with, or to prevent a violation of, any provision of this chapter.