Convert column to boolean type