code: def compprefs(self):
          
          if 'PreferredCompressionAlgorithms' in self._signature.subpackets:
              return next(iter(self._signature.subpackets['h_PreferredCompressionAlgorithms'])).flags
          return []
docs: A ``list`` of preferred compression algorithms specified in this signature, if any. Otherwise, an empty ``list``.