def is_admin(self):
        """
        Determine if the current user has the 'admin' role associated
        with it.

        :return:
        """
        for role in self.roles:
            if role.name == "admin":
                return True

        Determine if the current user has the 'admin' role associated
        with it.

        :return:
        
lemur/users/models.py