'Check if offline compression is enabled or forced
Defaults to just checking the settings and forced argument,
but can be overridden to completely disable compression for
a subclass, for instance.'

def is_offline_compression_enabled(self, forced):

    return ((settings.COMPRESS_ENABLED and settings.COMPRESS_OFFLINE) or forced)
