(cad solver) Add a partial check method. (#4904)