Add cf_touch_check function