Yes. A check engine light can automatically result in failure. It’s best to have it inspected beforehand.