def is_permanent_redirect(self):
        """True if this Response one of the permanent versions of redirect."""
        return "location" in self.headers and self.status_code in (
            codes.moved_permanently,
            codes.permanent_redirect,
        )
True if this Response one of the permanent versions of redirect.
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/requests/models.py