Add binary check function into cconv.groovy