def METHOD_NAME(self, *, requested_scopes) -> bool:
    granting_roles = []
    for role, scopes in self.scopes.items():
        if all(x in scopes for x in requested_scopes):
            granting_roles.append(role)
    if granting_roles:
        current_app.access_logger.info(
            f"Permission for {requested_scopes} granted by {granting_roles}",
            requested_scopes=requested_scopes,
            granting_roles=granting_roles,
        )
        return True
    raise UserClaimsVerificationError