<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _check_authorization(cls, authzr, identifier):
 """ Check that the authorization we got is the one we expected. """

        if authzr.body.identifier != identifier:
            raise errors.UnexpectedUpdate(authzr)
        return authzr