since COP_FLAG_* are bits, we can OR them together for checks