I use an inductive timing light to check for missing.
The Camshaft position sensor can check good and be bad. If you had a code for it check the connector and wiring for problems first, then replace the sensor. This CEL does not come up unless missing pulses are detected.