'Check is compression is to be disabled.
:param extra_specs: extra specifications
:returns: boolean'

@staticmethod
def is_compression_disabled(extra_specs):

    do_disable_compression = False
    if (DISABLECOMPRESSION in extra_specs):
        if strutils.bool_from_string(extra_specs[DISABLECOMPRESSION]):
            do_disable_compression = True
    return do_disable_compression
