If it;s a one piece unit, the disk is enclosed in a housing like this one. There's not much to check visually on one of these. I have seem the plastic that grab the axle deteriorate with age, and then they slip and don't turn.
View attachment 170771
If you still cant find it, show us a picture of the left side of pedals.
There will be a cable coming out of the unit. The electrical check starts by following where the cable connects to the ebike electronics and making sure the connection is intact. If that looks good, then the next step ,if you don't have an electrical background, is to buy an exact replacement, These are fairly common