def getRoleUserName(clubRole): if ClubRolesHelper.isOwner(clubRole): key = 'owner' elif ClubRolesHelper.isOfficer(clubRole): key = 'officer' else: key = 'private' return makeString('#cybersport:clubs/roles/%s' % key)
def isOfficer(self): return ClubRolesHelper.isOfficer(self.__roleMask)