def METHOD_NAME(self) -> None:
    if not self.slack_team_identity.detected_token_revoked:
        self.slack_team_identity.detected_token_revoked = timezone.now()
        self.slack_team_identity.save(update_fields=["detected_token_revoked"])