make is_capture return explicit 1 or 0