After a few seconds Check filterlight and shutdown

Dryer starts and shutsdown with check filter light about 50% time.
When it does this it will run after starting twomor three time.
filter is clean and vent is clean air comes out outside vent with force. Is this caused by a sensor?