docs: def has_header_encryption(self):
          """Returns True if headers are encrypted
          """
          if self._hdrenc_main:
              return True
          if self._main:
              if self._main.flags & RAR_MAIN_PASSWORD:
                  return True
          return False