<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def enable_parallel_lz4(mode):
 """ Set the global multithread compression mode Parameters mode: `bool` True: Use parallel compression. False: Use sequential compression """

    global ENABLE_PARALLEL
    ENABLE_PARALLEL = bool(mode)
    logger.info("Setting parallelisation mode to {}".format("multi-threaded" if mode else "single-threaded"))