Example #1
0
 def isValidAccountType(self):
     attrs = g_itemsCache.items.stats.attributes
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))
Example #2
0
 def isValidAccountType(self, itemsCache=None):
     attrs = itemsCache.items.stats.attributes if itemsCache is not None else 0
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))
Example #3
0
 def canSendApplication(self):
     return not isOutOfWallet(g_itemsCache.items.stats.attributes)
Example #4
0
 def canDeclineInvite(self):
     return not isOutOfWallet(g_itemsCache.items.stats.attributes)
Example #5
0
 def isValidAccountType(self):
     attrs = g_itemsCache.items.stats.attributes
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))