<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _is_admin(self, username):
 """ Check if a user is an ldapcherry administrator @str username: name of the user @rtype: bool, True if administrator, False otherwise """

        roles = self._get_roles(username)
        return self.roles.is_admin(roles['roles'])