In order to annul an administrative law judge's determination made after a hearing directed by law at which evidence is taken, a court must conclude that the record lacks substantial evidence to support the determination.
Pepe v. New York State Dept. of Motor Vehicles, NY Slip Op 06397 (2d Dep't August 28, 2019)
Here is the decision.