Check enableCompression and convert to boolean