<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_display_name(self, role):
 """get the display name of a role"""

        if role not in self.flatten:
            raise MissingRole(role)
        return self.flatten[role]['display_name']