<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _configure_cdn(self):
 """ Initialize CDN-related endpoints, if available. """

        ident = self.identity
        cdn_svc = ident.services.get("object_cdn")
        if cdn_svc:
            ep = cdn_svc.endpoints.get(self.region_name)
            if ep:
                self.cdn_management_url = ep.public_url