@property
def is_admin(self):
    "\n        Determine if the current user has the 'admin' role associated\n        with it.\n\n        :return:\n        "
    for role in self.roles:
        if (role.name == 'admin'):
            return True
Determine if the current user has the 'admin' role associated
with it.

:return:
@property
def is_admin(self):
    "\n        Determine if the current user has the 'admin' role associated\n        with it.\n\n        :return:\n        "
    for role in self.roles:
        if (role.name == 'admin'):
            return True