In such action or proceeding, the inquiry shall extend only to whether there was a prejudicial abuse of discretion. Abuse of discretion shall be found by the court only if the decision, determination, or finding was not supported by substantial evidence in light of the entire written record before the Attorney General or his or her delegate at the time the decision, determination, or finding was made. The record before the court shall be the same written record upon which the Attorney General or his or her delegate acted.
Ca. Bus. and Prof'l. Code § 17550.18