explicitly check for decompress not being None.
typo